Classes
The following classes are available globally.
-
AeroGear Services Auth SDK
Allows users to perform login/logout actions against an Keycloak service provisioned by the AeroGear mobile service on OpenShift.
### Example ### initialise the authentication configuration service and configure the Auth SDK
let authConfig = AuthenticationConfig(redirectURL: "com.youapp://callback") AgsAuth.instance.configure(authConfig: authConfig)
Login using the configured Auth SDK
See moreAgsAuth.instance.login()
Declaration
Swift
open class AgsAuth
-
Represents
See moreopenid
authentication actions like logout and login.Declaration
Swift
public class OIDCAuthenticator : Authenticator
-
Persist/load/remove the OIDCCredentials
See moreDeclaration
Swift
public class CredentialsManager : CredentialManagerProtocol
-
A class to represent the OpenID Connect state for an entity. This is backed by a standard OIDC token.
See moreDeclaration
Swift
public class OIDCCredentials : NSObject, NSCoding