Uses of Class
org.openhab.core.auth.client.oauth2.OAuthException
Packages that use OAuthException
- 
Uses of OAuthException in org.openhab.core.auth.client.oauth2Methods in org.openhab.core.auth.client.oauth2 that throw OAuthExceptionModifier and TypeMethodDescriptionOAuthClientService.extractAuthCodeFromAuthResponse(String redirectURLwithParams) Use case 1 Part (C).OAuthClientService.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 AccessTokenResponseOAuthClientService.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.getAuthorizationUrl(@Nullable String redirectURI, @Nullable String scope, @Nullable String state) Use case 1 Part (A) This call produces a URL which can be used during the Authorization Code Grant part (A).@Nullable DeviceCodeResponseDTOOAuthClientService.getDeviceCodeResponse()Begins the RFC-8628 Device Code Grant Flow authentication process.voidOAuthClientService.importAccessTokenResponse(AccessTokenResponse accessTokenResponse) Use case 6 - Import This method is used for importing/ migrating existing Access Token Response to be stored by this service.OAuthClientService.refreshToken()Use case 3 - refreshToken.voidOAuthClientService.remove()Remove all access token issued under this OAuthClientService.