Cloud Keys 2020 Android Edition

Questions / Feedback?

Redirect Event

Fired when a redirection is received from the server.


public class DefaultOauthEventListener implements OauthEventListener {
  public void redirect(OauthRedirectEvent e) {}

public class OauthRedirectEvent {
  public String location;
  public boolean accept;


This event is where the client can decide whether to continue with the redirection process or not. The Accept parameter is always true by default, but if you do not want to follow the redirection, Accept may be set to false, in which case the component throws an exception. Location is the location to which the client is being redirected. Further control over redirection is provided in the FollowRedirects property.

Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Keys 2020 Android Edition - Version 20.0 [Build 7718]