Module jio
Package jio.client.oauth
-
Class Summary Class Description ClientCredentialsBuilder<R> ClientCredentialsHttpClient<R> GetAccessTokenRequest Default req to get the access token in a Client Credentials Code POST https://host:port/uri grant_type=client_credentials Accept: application/json Authorization: Base64(ClientId:ClientSecret) Content-Type: application/x-www-form-urlencoded the default uri is /token the default host and port are the ones specified in the HttpClientModule where the requests that need the token are definedReadNewToken RefreshAccessTokenReq Default req to refresh the token in an Authorization code flow POST https://host:port/uri grant_type=refresh_token&refresh_token={{REFRESH_TOKEN}} Accept: application/json Authorization: Base64(ClientId:ClientSecret) Content-Type: application/x-www-form-urlencoded the default uri is /token the default host and port are the ones specified in the HttpClientModule where the requests that need to refresh the tokens are defined