Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AuthError - Exception Class in com.glideidentity.exception
-
Authentication error for OAuth2 client credentials flow.
- AuthError(String, int, String) - Constructor for exception class com.glideidentity.exception.AuthError
- AuthError(String, int, String, Throwable) - Constructor for exception class com.glideidentity.exception.AuthError
- AuthError(String, String) - Constructor for exception class com.glideidentity.exception.AuthError
- AuthError(String, String, Throwable) - Constructor for exception class com.glideidentity.exception.AuthError
C
- CARRIER_NOT_ELIGIBLE - Enum constant in enum class com.glideidentity.exception.ErrorCode
- clearTokenCache() - Method in class com.glideidentity.GlideClient
-
Clears the cached OAuth2 token, forcing a new fetch on next API call.
- clearTokenCache() - Method in class com.glideidentity.service.MagicalAuth
-
Clears the cached token, forcing a new fetch on next request.
- com.glideidentity - package com.glideidentity
- com.glideidentity.exception - package com.glideidentity.exception
- com.glideidentity.logging - package com.glideidentity.logging
- com.glideidentity.service - package com.glideidentity.service
- Config - Class in com.glideidentity
-
Configuration for the Glide SDK.
- Config() - Constructor for class com.glideidentity.Config
-
Creates configuration that loads settings from environment.
- Config(String, String) - Constructor for class com.glideidentity.Config
-
Creates configuration with OAuth2 credentials.
- Config(String, String, String) - Constructor for class com.glideidentity.Config
-
Creates configuration with OAuth2 credentials and custom base URL.
D
- debug(String) - Method in class com.glideidentity.logging.Logger.DefaultLogger
- debug(String) - Method in interface com.glideidentity.logging.Logger.LoggerInterface
- DEBUG - Enum constant in enum class com.glideidentity.logging.Logger.Level
- DefaultLogger() - Constructor for class com.glideidentity.logging.Logger.DefaultLogger
- DefaultLogger(Logger.Level, Logger.Format) - Constructor for class com.glideidentity.logging.Logger.DefaultLogger
E
- error(String) - Method in class com.glideidentity.logging.Logger.DefaultLogger
- error(String) - Method in interface com.glideidentity.logging.Logger.LoggerInterface
- error(String, Throwable) - Method in class com.glideidentity.logging.Logger.DefaultLogger
- error(String, Throwable) - Method in interface com.glideidentity.logging.Logger.LoggerInterface
- ERROR - Enum constant in enum class com.glideidentity.logging.Logger.Level
- ErrorCode - Enum Class in com.glideidentity.exception
-
Error codes returned by the API.
F
- fromString(String) - Static method in enum class com.glideidentity.logging.Logger.Format
- fromString(String) - Static method in enum class com.glideidentity.logging.Logger.Level
G
- getBaseUrl() - Method in class com.glideidentity.Config
- getClientId() - Method in class com.glideidentity.Config
- getClientSecret() - Method in class com.glideidentity.Config
- getCode() - Method in enum class com.glideidentity.exception.ErrorCode
- getCode() - Method in exception class com.glideidentity.exception.MagicalAuthError
- getDetails() - Method in exception class com.glideidentity.exception.MagicalAuthError
- getErrorCode() - Method in exception class com.glideidentity.exception.AuthError
- getFormat() - Method in class com.glideidentity.logging.Logger.DefaultLogger
- getLevel() - Method in class com.glideidentity.logging.Logger.DefaultLogger
- getLogFormat() - Method in class com.glideidentity.Config
- getLogger() - Method in class com.glideidentity.Config
- getLogger() - Method in class com.glideidentity.GlideClient
-
Returns the logger instance.
- getLogLevel() - Method in class com.glideidentity.Config
- getPhoneNumber(Types.GetPhoneNumberRequest) - Method in class com.glideidentity.service.MagicalAuth
-
Retrieves the phone number using a credential from the frontend.
- getRequestId() - Method in exception class com.glideidentity.exception.MagicalAuthError
- getStatus() - Method in exception class com.glideidentity.exception.MagicalAuthError
- getStatusCode() - Method in exception class com.glideidentity.exception.AuthError
- getStatusUrl(Types.PrepareResponse) - Static method in class com.glideidentity.TypeUtils
-
Extract status_url from PrepareResponse strategy-specific data.
- getTokenRefreshBuffer() - Method in class com.glideidentity.Config
- GlideClient - Class in com.glideidentity
-
Entry point for the Glide SDK.
- GlideClient() - Constructor for class com.glideidentity.GlideClient
-
Creates a client using credentials from environment variables.
- GlideClient(Config) - Constructor for class com.glideidentity.GlideClient
-
Creates a client with the provided configuration.
- GlideClient(String, String) - Constructor for class com.glideidentity.GlideClient
-
Creates a client with the provided OAuth2 credentials.
I
- info(String) - Method in class com.glideidentity.logging.Logger.DefaultLogger
- info(String) - Method in interface com.glideidentity.logging.Logger.LoggerInterface
- INFO - Enum constant in enum class com.glideidentity.logging.Logger.Level
- INTERNAL_SERVER_ERROR - Enum constant in enum class com.glideidentity.exception.ErrorCode
- INVALID_CREDENTIAL - Enum constant in enum class com.glideidentity.exception.ErrorCode
- INVALID_CREDENTIALS - Static variable in exception class com.glideidentity.exception.AuthError
- INVALID_PHONE_NUMBER - Enum constant in enum class com.glideidentity.exception.ErrorCode
- INVALID_SESSION - Enum constant in enum class com.glideidentity.exception.ErrorCode
- INVALID_USE_CASE - Enum constant in enum class com.glideidentity.exception.ErrorCode
- is(ErrorCode) - Method in exception class com.glideidentity.exception.MagicalAuthError
-
Checks if this error matches the specified code.
- isEnabled(Logger.Level) - Method in enum class com.glideidentity.logging.Logger.Level
- isRetryable() - Method in exception class com.glideidentity.exception.MagicalAuthError
-
Indicates whether this error can be retried.
J
- JSON - Enum constant in enum class com.glideidentity.logging.Logger.Format
L
- Logger - Class in com.glideidentity.logging
-
Logging infrastructure for the Glide SDK.
- Logger.DefaultLogger - Class in com.glideidentity.logging
-
Default logger with built-in secret sanitization.
- Logger.Format - Enum Class in com.glideidentity.logging
-
Output format for log messages.
- Logger.Level - Enum Class in com.glideidentity.logging
-
Log severity levels.
- Logger.LoggerInterface - Interface in com.glideidentity.logging
-
Interface for custom logger implementations.
M
- magicalAuth - Variable in class com.glideidentity.GlideClient
-
Authentication service for phone verification.
- MagicalAuth - Class in com.glideidentity.service
-
Client for carrier-based phone number authentication.
- MagicalAuth(Config, Logger.LoggerInterface) - Constructor for class com.glideidentity.service.MagicalAuth
-
Creates a MagicalAuth service with OAuth2 authentication.
- MagicalAuthError - Exception Class in com.glideidentity.exception
-
API error from Magical Auth operations.
- MagicalAuthError(String, int, String) - Constructor for exception class com.glideidentity.exception.MagicalAuthError
-
Creates an error with the specified details.
- MagicalAuthError(Map<String, Object>) - Constructor for exception class com.glideidentity.exception.MagicalAuthError
-
Creates an error from an API response.
- MISSING_REQUIRED_FIELD - Enum constant in enum class com.glideidentity.exception.ErrorCode
P
- PHONE_NUMBER_MISMATCH - Enum constant in enum class com.glideidentity.exception.ErrorCode
- prepare(Types.PrepareRequest) - Method in class com.glideidentity.service.MagicalAuth
-
Prepares an authentication session.
R
- RATE_LIMIT_EXCEEDED - Enum constant in enum class com.glideidentity.exception.ErrorCode
- reportInvocation(Types.ReportInvocationRequest) - Method in class com.glideidentity.service.MagicalAuth
-
Reports an authentication invocation for metric tracking.
S
- sanitize(String) - Static method in class com.glideidentity.logging.Logger.DefaultLogger
-
Sanitizes sensitive data from messages.
- SERVICE_UNAVAILABLE - Enum constant in enum class com.glideidentity.exception.ErrorCode
- SESSION_EXPIRED - Enum constant in enum class com.glideidentity.exception.ErrorCode
- setBaseUrl(String) - Method in class com.glideidentity.Config
- setClientId(String) - Method in class com.glideidentity.Config
- setClientSecret(String) - Method in class com.glideidentity.Config
- setDetails(Map<String, Object>) - Method in exception class com.glideidentity.exception.MagicalAuthError
- setLogFormat(String) - Method in class com.glideidentity.Config
- setLogger(Logger.LoggerInterface) - Method in class com.glideidentity.Config
- setLogLevel(String) - Method in class com.glideidentity.Config
- setRequestId(String) - Method in exception class com.glideidentity.exception.MagicalAuthError
- setTokenRefreshBuffer(int) - Method in class com.glideidentity.Config
-
Sets the token refresh buffer in seconds.
T
- TEXT - Enum constant in enum class com.glideidentity.logging.Logger.Format
- TOKEN_EXPIRED - Static variable in exception class com.glideidentity.exception.AuthError
- TOKEN_FETCH_FAILED - Static variable in exception class com.glideidentity.exception.AuthError
- toString() - Method in enum class com.glideidentity.exception.ErrorCode
- toString() - Method in exception class com.glideidentity.exception.MagicalAuthError
- TypeUtils - Class in com.glideidentity
-
Utility methods for working with Glide SDK types.
U
- UNAUTHORIZED - Static variable in exception class com.glideidentity.exception.AuthError
- UNSUPPORTED_PLATFORM - Enum constant in enum class com.glideidentity.exception.ErrorCode
V
- valueOf(String) - Static method in enum class com.glideidentity.exception.ErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.glideidentity.logging.Logger.Format
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.glideidentity.logging.Logger.Level
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.glideidentity.exception.ErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.glideidentity.logging.Logger.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.glideidentity.logging.Logger.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERIFICATION_FAILED - Enum constant in enum class com.glideidentity.exception.ErrorCode
- verifyPhoneNumber(Types.VerifyPhoneNumberRequest) - Method in class com.glideidentity.service.MagicalAuth
-
Verifies a phone number using a credential from the frontend.
W
- warn(String) - Method in class com.glideidentity.logging.Logger.DefaultLogger
- warn(String) - Method in interface com.glideidentity.logging.Logger.LoggerInterface
- WARN - Enum constant in enum class com.glideidentity.logging.Logger.Level
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form