Uses of Class
org.azd.oauth.types.AuthorizedToken
Packages that use AuthorizedToken
-
Uses of AuthorizedToken in org.azd.connection
Methods in org.azd.connection with parameters of type AuthorizedTokenModifier and TypeMethodDescriptionvoidConnection.setOauthToken(AuthorizedToken oauthToken) Set the oauth access tokenvoidConnection.TokenRefreshedHandler.tokenRefreshed(AuthorizedToken newToken) Constructors in org.azd.connection with parameters of type AuthorizedTokenModifierConstructorDescriptionConnection(String organization, String project, AuthorizedToken oauthToken, String appSecret, String appCallBackURL) Instantiates the class with organization name, project name and oauth access token.Connection(String organization, String project, AuthorizedToken oauthToken, String appSecret, String appCallBackURL, Connection.TokenRefreshedHandler tokenRefreshedHandler) Instantiates the class with organization name, project name and oauth access token.Connection(String organization, AuthorizedToken oauthToken, String appSecret, String appCallBackURL) Instantiates the class with organization name and oauth access token.Connection(String organization, AuthorizedToken oauthToken, String appSecret, String appCallBackURL, Connection.TokenRefreshedHandler tokenRefreshedHandler) Instantiates the class with organization name and oauth access token. -
Uses of AuthorizedToken in org.azd.oauth
Methods in org.azd.oauth that return AuthorizedTokenModifier and TypeMethodDescriptionstatic AuthorizedTokenOAuthApi.getAccessToken(String appSecret, String authCode, String callbackUrl) Now you use the authorization code to request an access token for the user.static AuthorizedTokenOAuthApi.getRefreshToken(String appSecret, String authCode, String callbackUrl) If a user's access token expires, you can use the refresh token that they acquired in the authorization flow to get a new access token.Methods in org.azd.oauth with parameters of type AuthorizedTokenModifier and TypeMethodDescriptionstatic booleanOAuthApi.hasTokenExpired(AuthorizedToken authorizedToken) Check if the access token has expired. -
Uses of AuthorizedToken in org.azd.utils
Methods in org.azd.utils with parameters of type AuthorizedToken