Skip navigation links
A B C D E F G H I J K L N O P R S T U V W 

A

AbstractAuthenticator - Class in org.aerogear.mobile.auth.authenticator
Base class for all authenticators
AbstractAuthenticator(ServiceConfiguration) - Constructor for class org.aerogear.mobile.auth.authenticator.AbstractAuthenticator
 
AbstractSecurityCheck - Class in org.aerogear.mobile.security.checks
Base class for security checks.
AbstractSecurityCheck() - Constructor for class org.aerogear.mobile.security.checks.AbstractSecurityCheck
 
accessToken - Variable in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
AllowBackupFlagCheck - Class in org.aerogear.mobile.security.checks
Check to determine whether the allowBackup flag is enabled for the application.
AllowBackupFlagCheck() - Constructor for class org.aerogear.mobile.security.checks.AllowBackupFlagCheck
 
APPLICATION_ID - Static variable in class org.aerogear.android.auth.BuildConfig
 
AsyncSecurityCheckExecutor - Class in org.aerogear.mobile.security
Executor used to asynchronously execute checks.
AsyncSecurityCheckExecutor.Builder - Class in org.aerogear.mobile.security
Builder class for constructing an AsyncSecurityCheckExecutor object.
AuthConfigurationBuilder() - Constructor for class org.aerogear.mobile.auth.configuration.AuthServiceConfiguration.AuthConfigurationBuilder
 
authenticate(AuthenticateOptions, Callback<UserPrincipal>) - Method in class org.aerogear.mobile.auth.authenticator.AbstractAuthenticator
This method must be overridden with the custom authentication for the given credential.
authenticate(AuthenticateOptions, Callback<UserPrincipal>) - Method in class org.aerogear.mobile.auth.authenticator.oidc.OIDCAuthenticatorImpl
Builds a new OIDCUserPrincipalImpl object after the user's credential has been authenticated
AuthenticateOptions - Interface in org.aerogear.mobile.auth.authenticator
Represents options for an authentication action.
AuthenticationException - Exception in org.aerogear.mobile.auth
Exception thrown when an error occurs authenticating a user.
AuthenticationException(Throwable) - Constructor for exception org.aerogear.mobile.auth.AuthenticationException
 
AuthenticationException(String) - Constructor for exception org.aerogear.mobile.auth.AuthenticationException
 
AuthenticationException(String, Throwable) - Constructor for exception org.aerogear.mobile.auth.AuthenticationException
 
AuthorizationServiceFactory - Class in org.aerogear.mobile.auth.authenticator
Factory class used to create the 'openid' classes.
AuthorizationServiceFactory(Context) - Constructor for class org.aerogear.mobile.auth.authenticator.AuthorizationServiceFactory
Builds a new AuthorizationServiceFactory
AuthorizationServiceFactory.ServiceWrapper - Class in org.aerogear.mobile.auth.authenticator
Wrapper class for all the objects used to perform OIDC authentication through the usage of the `openid` library.
AuthService - Class in org.aerogear.mobile.auth
Entry point for authenticating users.
AuthService() - Constructor for class org.aerogear.mobile.auth.AuthService
Instantiates a new AuthService object
AuthServiceConfiguration - Class in org.aerogear.mobile.auth.configuration
This represents an authentication config provided by the developer.
AuthServiceConfiguration.AuthConfigurationBuilder - Class in org.aerogear.mobile.auth.configuration
Builds and returns an AuthServiceConfiguration object.
AuthStateManager - Class in org.aerogear.mobile.auth
Saves, retrieves and delete a token.

B

build() - Method in class org.aerogear.mobile.auth.configuration.AuthServiceConfiguration.AuthConfigurationBuilder
 
build() - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
build() - Method in class org.aerogear.mobile.security.AsyncSecurityCheckExecutor.Builder
Creates a new AsyncSecurityCheckExecutor object.
build() - Method in class org.aerogear.mobile.security.SyncSecurityCheckExecutor.Builder
Creates a new SyncSecurityCheckExecutor object.
BUILD_TYPE - Static variable in class org.aerogear.android.auth.BuildConfig
 
BuildConfig - Class in org.aerogear.android.auth
 
BuildConfig() - Constructor for class org.aerogear.android.auth.BuildConfig
 
Builder() - Constructor for class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
Builder() - Constructor for class org.aerogear.mobile.security.SecurityCheckExecutor.Builder
 

C

Callback<T> - Interface in org.aerogear.mobile.auth
 
check(SecurityCheckType) - Method in class org.aerogear.mobile.security.SecurityService
Used with enumeration to perform a single SecurityCheckType and get the result for it.
check(SecurityCheck) - Method in class org.aerogear.mobile.security.SecurityService
Used with a custom check to perform a single SecurityCheck and get the result for it.
checkAndSendMetric(SecurityCheckType, MetricsService) - Method in class org.aerogear.mobile.security.SecurityService
Perform a single SecurityCheckType , get the result and publish a SecurityCheckResultMetric based on the result.
checkAndSendMetric(SecurityCheck, MetricsService) - Method in class org.aerogear.mobile.security.SecurityService
Perform a single SecurityCheck and return a SecurityCheckResult.
checkValidAuth() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
Check whether the user is authorized and not expired.
clear() - Method in class org.aerogear.mobile.auth.AuthStateManager
Deletes a token
configure(MobileCore, ServiceConfiguration) - Method in class org.aerogear.mobile.auth.AuthService
 
configure(MobileCore, ServiceConfiguration) - Method in class org.aerogear.mobile.security.SecurityService
Configures the security service.
createAuthorizationService(KeycloakConfiguration, AuthServiceConfiguration) - Method in class org.aerogear.mobile.auth.authenticator.AuthorizationServiceFactory
Creates and initializes a new AuthorizationService ready to be used for authenticating with Keycloak.
currentUser() - Method in class org.aerogear.mobile.auth.AuthService
Return the user that is currently logged and is still valid.

D

data() - Method in class org.aerogear.mobile.security.metrics.SecurityCheckResultMetric
Gets the data from the result which contains whether the check passed or not.
DEBUG - Static variable in class org.aerogear.android.auth.BuildConfig
 
DebuggerCheck - Class in org.aerogear.mobile.security.checks
A check for whether a debugger is attached to the current application.
DebuggerCheck() - Constructor for class org.aerogear.mobile.security.checks.DebuggerCheck
 
DefaultAuthenticateOptions - Class in org.aerogear.mobile.auth.authenticator
 
DefaultAuthenticateOptions(Activity, int) - Constructor for class org.aerogear.mobile.auth.authenticator.DefaultAuthenticateOptions
 
deleteTokens() - Method in class org.aerogear.mobile.auth.authenticator.oidc.OIDCAuthenticatorImpl
Delete the the current tokens/authentication state.
deleteTokens() - Method in class org.aerogear.mobile.auth.AuthService
Delete the the current tokens/authentication state.
deserialize(String) - Static method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
Return a new credential from the output of OIDCCredentials.serialize()
destroy() - Method in class org.aerogear.mobile.auth.AuthService
 
destroy() - Method in class org.aerogear.mobile.security.SecurityService
Invoked when security service needs to be destroyed.
DeveloperModeCheck - Class in org.aerogear.mobile.security.checks
Security check that detects if developer mode is enabled in the device.
DeveloperModeCheck() - Constructor for class org.aerogear.mobile.security.checks.DeveloperModeCheck
 

E

email - Variable in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
EmulatorCheck - Class in org.aerogear.mobile.security.checks
A check for whether the device the application is running on an emulator
EmulatorCheck() - Constructor for class org.aerogear.mobile.security.checks.EmulatorCheck
 
EncryptionCheck - Class in org.aerogear.mobile.security.checks
Detects whether a devices filesystem is encrypted
EncryptionCheck() - Constructor for class org.aerogear.mobile.security.checks.EncryptionCheck
 
equals(Object) - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
 
equals(Object) - Method in class org.aerogear.mobile.auth.user.UserRole
Compares UserRole objects for equality.
execute() - Method in class org.aerogear.mobile.security.AsyncSecurityCheckExecutor
Executes the checks asynchronously.
execute(Context) - Method in class org.aerogear.mobile.security.checks.AbstractSecurityCheck
Executes the check.
execute(Context) - Method in class org.aerogear.mobile.security.checks.AllowBackupFlagCheck
Check whether the allowBackup flag is enabled.
execute(Context) - Method in class org.aerogear.mobile.security.checks.DebuggerCheck
Check whether a debugger is attached to the current application.
execute(Context) - Method in class org.aerogear.mobile.security.checks.DeveloperModeCheck
Check if developer mode has been enabled in the device.
execute(Context) - Method in class org.aerogear.mobile.security.checks.EmulatorCheck
Checks if device is an emulator by looking at the following: Fingerprint starts with 'generic' or 'unknown' The model contains 'google_sdk' or 'emulator' or 'android sdk built for x86' If the serial is equal to 'null' The manufacturer contains 'genymotion' If the brand and device start with 'generic'
execute(Context) - Method in class org.aerogear.mobile.security.checks.EncryptionCheck
Check if a devices filesystem is encrypted
execute(Context) - Method in class org.aerogear.mobile.security.checks.RootedCheck
Check whether the device is rooted or not.
execute(Context) - Method in class org.aerogear.mobile.security.checks.ScreenLockCheck
Check whether the device has a screen lock enabled (PIN, Password, etc).
execute() - Method in class org.aerogear.mobile.security.SyncSecurityCheckExecutor
Executes the provided checks and returns the results.

F

fetchJwks(KeycloakConfiguration, Callback<JsonWebKeySet>) - Method in class org.aerogear.mobile.auth.credentials.JwksManager
Call the remote endpoint to load the JWKS and save it locally.
fetchJwksIfNeeded(KeycloakConfiguration, boolean) - Method in class org.aerogear.mobile.auth.credentials.JwksManager
Fetch the JWKS from the server if necessary and save them locally.
FLAVOR - Static variable in class org.aerogear.android.auth.BuildConfig
 

G

getAccessToken() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
 
getAccessToken() - Method in interface org.aerogear.mobile.auth.user.UserPrincipal
Returns the token that will allow access to other services.
getAccessToken() - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
Returns the access token for the current logged user.
getAsyncCheckExecutor() - Method in class org.aerogear.mobile.security.SecurityService
Retrieve a check executor that can asynchronously run multiple security checks.
getAuthenticationEndpoint() - Method in class org.aerogear.mobile.auth.configuration.KeycloakConfiguration
Get the URI for the Keycloak authentication endpoint
getAuthorizationRequest() - Method in class org.aerogear.mobile.auth.authenticator.AuthorizationServiceFactory.ServiceWrapper
 
getAuthorizationService() - Method in class org.aerogear.mobile.auth.authenticator.AuthorizationServiceFactory.ServiceWrapper
 
getAuthState() - Method in class org.aerogear.mobile.auth.authenticator.AuthorizationServiceFactory.ServiceWrapper
 
getCheckExecutor() - Method in class org.aerogear.mobile.security.SecurityService
Retrieve a check executor that can synchronously run multiple security checks.
getClientId() - Method in class org.aerogear.mobile.auth.configuration.KeycloakConfiguration
Get the client id
getEmail() - Method in interface org.aerogear.mobile.auth.user.UserPrincipal
Returns the email
getEmail() - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
 
getFromActivity() - Method in class org.aerogear.mobile.auth.authenticator.DefaultAuthenticateOptions
 
getHostUrl() - Method in class org.aerogear.mobile.auth.configuration.KeycloakConfiguration
Get the URL string of the Keycloak singleThreadService
getIdentityToken() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
 
getIdentityToken() - Method in interface org.aerogear.mobile.auth.user.UserPrincipal
Returns the users identity token.
getIdentityToken() - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
Returns the identity token.
getInstance() - Static method in class org.aerogear.mobile.auth.AuthStateManager
 
getIssuer() - Method in class org.aerogear.mobile.auth.configuration.KeycloakConfiguration
Returns the JWT Issuer
getJwksUrl() - Method in class org.aerogear.mobile.auth.configuration.KeycloakConfiguration
Returns the URL where keys can be retrieved.
getLogoutUrl(String, String) - Method in class org.aerogear.mobile.auth.configuration.KeycloakConfiguration
Get the logout URL string
getMinTimeBetweenJwksRequests() - Method in class org.aerogear.mobile.auth.configuration.AuthServiceConfiguration
 
getName() - Method in interface org.aerogear.mobile.auth.user.UserPrincipal
Returns the username
getName() - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
 
getName() - Method in class org.aerogear.mobile.auth.user.UserRole
Get's the name of the role.
getName() - Method in class org.aerogear.mobile.security.impl.SecurityCheckResultImpl
Gets the name of the check.
getName() - Method in interface org.aerogear.mobile.security.SecurityCheck
Gets the name of the check.
getName() - Method in interface org.aerogear.mobile.security.SecurityCheckResult
Get the name of the security check that this is the result of.
getName() - Method in enum org.aerogear.mobile.security.SecurityCheckType
Gets the name of the security check.
getNamespace() - Method in class org.aerogear.mobile.auth.user.UserRole
Get's the namespace/client ID of the role.
getNeedsRenewal() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
Check whether new access token is needed.
getRealmName() - Method in class org.aerogear.mobile.auth.configuration.KeycloakConfiguration
Get the realm name of the Keycloak singleThreadService
getRedirectUri() - Method in class org.aerogear.mobile.auth.configuration.AuthServiceConfiguration
 
getRefreshToken() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
 
getRefreshToken() - Method in interface org.aerogear.mobile.auth.user.UserPrincipal
Returns the users refresh token.
getRefreshToken() - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
Returns the refresh token.
getResultCode() - Method in class org.aerogear.mobile.auth.authenticator.DefaultAuthenticateOptions
 
getRoles() - Method in interface org.aerogear.mobile.auth.user.UserPrincipal
Returns the roles associated with this principal
getRoles() - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
Get's user roles
getRootBeer(Context) - Method in class org.aerogear.mobile.security.checks.RootedCheck
This method allows us to perform unit testing on the Rooted Check
getSecurityCheck() - Method in enum org.aerogear.mobile.security.SecurityCheckType
Gets the security check.
getServiceConfig() - Method in class org.aerogear.mobile.auth.authenticator.AbstractAuthenticator
Returns the authentication singleThreadService configuration
getTokenEndpoint() - Method in class org.aerogear.mobile.auth.configuration.KeycloakConfiguration
Get the URI for the token exchange endpoint
getType() - Method in class org.aerogear.mobile.auth.user.UserRole
Get's the type of the role.

H

handleAuthResult(Intent) - Method in class org.aerogear.mobile.auth.authenticator.oidc.OIDCAuthenticatorImpl
 
handleAuthResult(Intent) - Method in class org.aerogear.mobile.auth.AuthService
This function should be called in the start activity's "onActivityResult" method to allow the SDK to process the response from the authentication server.
hasClientRole(String, String) - Method in interface org.aerogear.mobile.auth.user.UserPrincipal
Checks if the user has the specified Client role.
hasClientRole(String, String) - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
Checks if the user has the specified Client role.
hashCode() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
 
hashCode() - Method in class org.aerogear.mobile.auth.user.UserRole
Generates hashcode value from the UserRole name UserRole.name and type UserRole.type
hasRealmRole(String) - Method in interface org.aerogear.mobile.auth.user.UserPrincipal
Checks if the user has the specified Realm role.
hasRealmRole(String) - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
Checks if the user has the specified Realm role.

I

IDENTIFIER - Static variable in class org.aerogear.mobile.security.metrics.SecurityCheckResultMetric
 
identifier() - Method in class org.aerogear.mobile.security.metrics.SecurityCheckResultMetric
Gets the name of the check performed.
idToken - Variable in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
init(Context, AuthServiceConfiguration) - Method in class org.aerogear.mobile.auth.AuthService
Initialize the module.
isAuthorized() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
Check if the user is authenticated/authorized.
isExpired() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
Returns whether this token is expired or not.

J

JwksException - Exception in org.aerogear.mobile.auth.credentials
 
JwksException(Throwable) - Constructor for exception org.aerogear.mobile.auth.credentials.JwksException
 
JwksException(String) - Constructor for exception org.aerogear.mobile.auth.credentials.JwksException
 
JwksManager - Class in org.aerogear.mobile.auth.credentials
A class that is responsible for manage the Json Web Key Set(JWKS).
JwksManager(Context, MobileCore, AuthServiceConfiguration) - Constructor for class org.aerogear.mobile.auth.credentials.JwksManager
 

K

KEY_TYPE - Static variable in class org.aerogear.mobile.security.metrics.SecurityCheckResultMetric
 
KEY_VALUE - Static variable in class org.aerogear.mobile.security.metrics.SecurityCheckResultMetric
 
KeycloakConfiguration - Class in org.aerogear.mobile.auth.configuration
A class to represent the configuration options of the Keycloak singleThreadService
KeycloakConfiguration(ServiceConfiguration) - Constructor for class org.aerogear.mobile.auth.configuration.KeycloakConfiguration
Create a new instance of the Keycloak configuration from the given instance of ServiceConfiguration.

L

load() - Method in class org.aerogear.mobile.auth.AuthStateManager
Reads credentials from storage.
load(KeycloakConfiguration) - Method in class org.aerogear.mobile.auth.credentials.JwksManager
Load the cached JWKS from the private storage of the app.
login(DefaultAuthenticateOptions, Callback<UserPrincipal>) - Method in class org.aerogear.mobile.auth.AuthService
Log in the user with the given authentication options.
logout(UserPrincipal, Callback<UserPrincipal>) - Method in class org.aerogear.mobile.auth.authenticator.AbstractAuthenticator
Logout the given principal
logout(UserPrincipal, Callback<UserPrincipal>) - Method in class org.aerogear.mobile.auth.authenticator.oidc.OIDCAuthenticatorImpl
 
logout(UserPrincipal, Callback<UserPrincipal>) - Method in class org.aerogear.mobile.auth.AuthService
Log out the given principal.

N

newAsyncExecutor(Context) - Static method in class org.aerogear.mobile.security.SecurityCheckExecutor.Builder
Creates a new AsyncSecurityCheckExecutor Builder.
newSyncExecutor(Context) - Static method in class org.aerogear.mobile.security.SecurityCheckExecutor.Builder
Creates a new SyncSecurityCheckExecutor Builder.
newUser() - Static method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
 

O

OIDCAuthenticatorImpl - Class in org.aerogear.mobile.auth.authenticator.oidc
Authenticates the user by using OpenID Connect.
OIDCAuthenticatorImpl(ServiceConfiguration, AuthServiceConfiguration, AuthStateManager, AuthorizationServiceFactory, JwksManager) - Constructor for class org.aerogear.mobile.auth.authenticator.oidc.OIDCAuthenticatorImpl
Creates a new OIDCAuthenticatorImpl object
OIDCCredentials - Class in org.aerogear.mobile.auth.credentials
Credentials for OIDC based authentication
OIDCCredentials(String) - Constructor for class org.aerogear.mobile.auth.credentials.OIDCCredentials
OpenID Connect credentials containing the identity, refresh and access tokens provided on a successful authentication with OpenID Connect.
OIDCCredentials() - Constructor for class org.aerogear.mobile.auth.credentials.OIDCCredentials
 
onComplete() - Method in interface org.aerogear.mobile.security.SecurityCheckExecutorListener
Called when all submitted checks has been executed.
onError(Throwable) - Method in interface org.aerogear.mobile.auth.Callback
 
onExecuted(SecurityCheckResult) - Method in interface org.aerogear.mobile.security.SecurityCheckExecutorListener
Called after each check is executed
onSuccess() - Method in interface org.aerogear.mobile.auth.Callback
 
onSuccess(T) - Method in interface org.aerogear.mobile.auth.Callback
 
org.aerogear.android.auth - package org.aerogear.android.auth
 
org.aerogear.mobile.auth - package org.aerogear.mobile.auth
 
org.aerogear.mobile.auth.authenticator - package org.aerogear.mobile.auth.authenticator
 
org.aerogear.mobile.auth.authenticator.oidc - package org.aerogear.mobile.auth.authenticator.oidc
 
org.aerogear.mobile.auth.configuration - package org.aerogear.mobile.auth.configuration
 
org.aerogear.mobile.auth.credentials - package org.aerogear.mobile.auth.credentials
 
org.aerogear.mobile.auth.user - package org.aerogear.mobile.auth.user
 
org.aerogear.mobile.auth.utils - package org.aerogear.mobile.auth.utils
 
org.aerogear.mobile.security - package org.aerogear.mobile.security
 
org.aerogear.mobile.security.checks - package org.aerogear.mobile.security.checks
 
org.aerogear.mobile.security.impl - package org.aerogear.mobile.security.impl
 
org.aerogear.mobile.security.metrics - package org.aerogear.mobile.security.metrics
 

P

parseEmail() - Method in class org.aerogear.mobile.auth.utils.UserIdentityParser
Parses the user's email address from the user identity UserIdentityParser.userIdentity
parseRoles() - Method in class org.aerogear.mobile.auth.utils.UserIdentityParser
Parses the user's roles from the user identity UserIdentityParser.userIdentity
parseUser() - Method in class org.aerogear.mobile.auth.utils.UserIdentityParser
 
parseUsername() - Method in class org.aerogear.mobile.auth.utils.UserIdentityParser
Parses the user's username from the user identity UserIdentityParser.userIdentity
passed() - Method in class org.aerogear.mobile.security.impl.SecurityCheckResultImpl
Gets the check result.
passed() - Method in interface org.aerogear.mobile.security.SecurityCheckResult
Whether the check was successful.

R

refreshToken - Variable in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
renew() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
Renew the token.
requiresConfiguration() - Method in class org.aerogear.mobile.auth.AuthService
 
requiresConfiguration() - Method in class org.aerogear.mobile.security.SecurityService
Checks if the service requires a service configuration.
roles - Variable in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
RoleType - Enum in org.aerogear.mobile.auth.user
Keycloak role types
RootedCheck - Class in org.aerogear.mobile.security.checks
A check for whether the device the application is running on is rooted.
RootedCheck() - Constructor for class org.aerogear.mobile.security.checks.RootedCheck
 

S

save(OIDCCredentials) - Method in class org.aerogear.mobile.auth.AuthStateManager
Saves a token
ScreenLockCheck - Class in org.aerogear.mobile.security.checks
A check for whether the device the application is running on has a screen lock.
ScreenLockCheck() - Constructor for class org.aerogear.mobile.security.checks.ScreenLockCheck
 
SecurityCheck - Interface in org.aerogear.mobile.security
Interface for a single check to be executed.
SecurityCheckExecutor - Class in org.aerogear.mobile.security
Entry point for the SecurityCheckExecutor.
SecurityCheckExecutor.Builder - Class in org.aerogear.mobile.security
Entry point for SecurityCheckExecutor builders.
SecurityCheckExecutorListener - Interface in org.aerogear.mobile.security
Listener for events about check execution.
SecurityCheckResult - Interface in org.aerogear.mobile.security
Interface for the results of a SecurityCheck.
SecurityCheckResultImpl - Class in org.aerogear.mobile.security.impl
Implementation of SecurityCheckResult.
SecurityCheckResultImpl(SecurityCheck, boolean) - Constructor for class org.aerogear.mobile.security.impl.SecurityCheckResultImpl
Builds a new Security Check Result object.
SecurityCheckResultMetric - Class in org.aerogear.mobile.security.metrics
Metric representation of SecurityCheckResult.
SecurityCheckResultMetric(Iterable<SecurityCheckResult>) - Constructor for class org.aerogear.mobile.security.metrics.SecurityCheckResultMetric
Creates a SecurityCheckResultMetric object.
SecurityCheckResultMetric(SecurityCheckResult...) - Constructor for class org.aerogear.mobile.security.metrics.SecurityCheckResultMetric
Creates a SecurityCheckResultMetric object.
SecurityCheckType - Enum in org.aerogear.mobile.security
Checks that can be performed.
SecurityService - Class in org.aerogear.mobile.security
Service for running security checks in an application.
SecurityService() - Constructor for class org.aerogear.mobile.security.SecurityService
 
serialize() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
Returns stringified JSON for the OIDCCredential.
setNeedsRenewal() - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
Force request of new access token.
SyncSecurityCheckExecutor - Class in org.aerogear.mobile.security
Synchronously executes provided SecurityChecks.
SyncSecurityCheckExecutor.Builder - Class in org.aerogear.mobile.security
Builder class for constructing a SyncSecurityCheckExecutor object.

T

test(Context) - Method in class org.aerogear.mobile.security.checks.AbstractSecurityCheck
Checks that the context is not null and delegates the check execution to the AbstractSecurityCheck.execute(Context) method.
test(Context) - Method in interface org.aerogear.mobile.security.SecurityCheck
Perform the check and return a result.
toString() - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl
 
toString() - Method in class org.aerogear.mobile.auth.user.UserRole
 
type() - Method in class org.aerogear.mobile.auth.AuthService
 
type() - Method in class org.aerogear.mobile.security.SecurityService
Gets the service type.

U

UserIdentityParser - Class in org.aerogear.mobile.auth.utils
 
UserIdentityParser(OIDCCredentials, KeycloakConfiguration) - Constructor for class org.aerogear.mobile.auth.utils.UserIdentityParser
 
username - Variable in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
UserPrincipal - Interface in org.aerogear.mobile.auth.user
Public interface for user principals.
UserPrincipalImpl - Class in org.aerogear.mobile.auth.user
This class represent an authenticated user
UserPrincipalImpl(String, String, Set<UserRole>, String, String, String) - Constructor for class org.aerogear.mobile.auth.user.UserPrincipalImpl
Builds a new UserPrincipalImpl object
UserPrincipalImpl.Builder - Class in org.aerogear.mobile.auth.user
Builds and return a UserPrincipalImpl object
UserRole - Class in org.aerogear.mobile.auth.user
Represents a user's keycloak roles information.
UserRole(String, RoleType, String) - Constructor for class org.aerogear.mobile.auth.user.UserRole
Creates a new UserRole object.

V

valueOf(String) - Static method in enum org.aerogear.mobile.auth.user.RoleType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.aerogear.mobile.security.SecurityCheckType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.aerogear.mobile.auth.user.RoleType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.aerogear.mobile.security.SecurityCheckType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyClaims(JsonWebKeySet, KeycloakConfiguration) - Method in class org.aerogear.mobile.auth.credentials.OIDCCredentials
Verify the token and its claims against the given Keycloak configuration
VERSION_CODE - Static variable in class org.aerogear.android.auth.BuildConfig
 
VERSION_NAME - Static variable in class org.aerogear.android.auth.BuildConfig
 

W

withAccessToken(String) - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
withEmail(String) - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
withExecutorService(ExecutorService) - Method in class org.aerogear.mobile.security.AsyncSecurityCheckExecutor.Builder
A custom ExecutorService for this SecurityCheckExecutor.
withIdentityToken(String) - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
withMinTimeBetweenJwksRequests(int) - Method in class org.aerogear.mobile.auth.configuration.AuthServiceConfiguration.AuthConfigurationBuilder
 
withRedirectUri(String) - Method in class org.aerogear.mobile.auth.configuration.AuthServiceConfiguration.AuthConfigurationBuilder
Allow specify the value of the redirect uri
withRefreshToken(String) - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
withRoles(Set<UserRole>) - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
withUsername(String) - Method in class org.aerogear.mobile.auth.user.UserPrincipalImpl.Builder
 
A B C D E F G H I J K L N O P R S T U V W 
Skip navigation links