Uses of Class
org.openhab.core.auth.client.oauth2.OAuthResponseException
-
Uses of OAuthResponseException in org.openhab.core.auth.client.oauth2
Modifier and TypeMethodDescriptionOAuthClientService.getAccessTokenByClientCredentials
(@Nullable String scope) Use case 4 - Client Credentials This is used to get the AccessToken by purely the client credential.OAuthClientService.getAccessTokenByImplicit
(@Nullable String redirectURI, @Nullable String scope, @Nullable String state) Use case 5 - Implicit Grant The implicit grant usually involves browser/javascript redirection flows.OAuthClientService.getAccessTokenByResourceOwnerPasswordCredentials
(String username, String password, @Nullable String scope) Use case 2 - Resource Owner Password Credentials This is for when the username and password of the actual resource owner (user) is known to the client.@Nullable AccessTokenResponse
OAuthClientService.getAccessTokenResponse()
Use case 7 - get access token response.OAuthClientService.getAccessTokenResponseByAuthorizationCode
(String authorizationCode, @Nullable String redirectURI) Use case 1 Part (D) This is a continuation of the flow of Authorization Code Grant, part (D).OAuthClientService.refreshToken()
Use case 3 - refreshToken.