AfterOAuth Event
Fires after an OAuth authentication attempt has finished.
Syntax
public void fireAfterOAuth(ApiclientAfterOAuthEvent event); public class ApiclientAfterOAuthEvent { public int grantType; public String clientId; public String clientSecret; public String serverAuthURL; public String serverTokenURL; public String authorizationScope; public String token; public String refreshToken; public long timestamp; public long expiresIn; }
Remarks
This event can be used to access OAuth parameters after authentication has completed. For instance the RefreshToken parameter can be queried in the event and stored for later use. If the OAuthCacheFile property is set to a valid file path, the OAuth parameters will be stored there as well.
Unlike the BeforeOAuth event, this event cannot be used to override the parameters for the OAuth session. The parameters are read-only.