public class KeycloakConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
KeycloakConfiguration(org.aerogear.mobile.core.configuration.ServiceConfiguration configuration)
Create a new instance of the Keycloak configuration from the given instance of
ServiceConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
android.net.Uri |
getAuthenticationEndpoint()
Get the URI for the Keycloak authentication endpoint
|
java.lang.String |
getClientId()
Get the client id
|
java.lang.String |
getHostUrl()
Get the URL string of the Keycloak singleThreadService
|
java.lang.String |
getIssuer()
Returns the JWT Issuer
|
java.lang.String |
getJwksUrl()
Returns the URL where keys can be retrieved.
|
java.lang.String |
getLogoutUrl(java.lang.String identityToken,
java.lang.String redirectUri)
Get the logout URL string
|
java.lang.String |
getRealmName()
Get the realm name of the Keycloak singleThreadService
|
android.net.Uri |
getTokenEndpoint()
Get the URI for the token exchange endpoint
|
public KeycloakConfiguration(org.aerogear.mobile.core.configuration.ServiceConfiguration configuration)
configuration - the ServiceConfiguration instance for Keycloakpublic android.net.Uri getAuthenticationEndpoint()
public android.net.Uri getTokenEndpoint()
public java.lang.String getClientId()
public java.lang.String getLogoutUrl(java.lang.String identityToken,
java.lang.String redirectUri)
identityToken - the identity tokenredirectUri - the redirect uripublic java.lang.String getHostUrl()
public java.lang.String getRealmName()
public java.lang.String getJwksUrl()
public java.lang.String getIssuer()