Class adobeDPS-AuthenticationService
- Extends:
- adobeDPS-AuthenticationService -> adobeDPS-Service -> adobeDPS-Class
- Platforms:
- iOS
Service for sending custom analytics events.
Accessible from adobeDPS.authenticationService
Constructor
[inner]
Create an instance of the AuthenticationService.
Static Fields
Field | Defined By | |
---|---|---|
adobeDPS-AuthenticationService.instance
The singleton of the AuthenticationService.
|
AuthenticationService
|
Fields
Field | Defined By | |
---|---|---|
Signal to indicate updates to the AuthenticationService.
|
AuthenticationService
|
|
Signal to indicate that the user's authentication state has changed.
|
AuthenticationService
|
|
isUserAuthenticated
: Boolean
Whether a user is currently authenticated.
|
AuthenticationService
|
|
userName
: String
The username of that user.
|
AuthenticationService
|
|
token
: String
If a user is authenticated, the token for this session.
|
AuthenticationService
|
Methods
Method | Defined By | |
---|---|---|
toString()
Gets the string representation of this instance.
|
Class Detail
adobeDPS-AuthenticationService()
[inner]
Create an instance of the AuthenticationService.
- This is an internal constructor and shouldn't be called by regular users.
- This is an internal constructor and shouldn't be called by regular users.
Static Field Details
adobeDPS-AuthenticationService.instance
The singleton of the AuthenticationService.
- Platforms:
- iOS
Field Details
updatedSignal
: adobeDPS-Signal
Signal to indicate updates to the AuthenticationService.
Updates about isUserAuthenticated,
userName, and token are signaled.
Callback Signature: updatedHandler([String, ...])
Callback Signature: updatedHandler([String, ...])
- Platforms:
- iOS
userAuthenticationChangedSignal
: adobeDPS-Signal
Signal to indicate that the user's authentication state has changed.
Callback Signature: userAuthenticationChangedHandler(Boolean)
Callback Signature: userAuthenticationChangedHandler(Boolean)
- Platforms:
- iOS
isUserAuthenticated
: Boolean
Whether a user is currently authenticated.
- Platforms:
- iOS
userName
: String
The username of that user. Will be
null
if isUserAuthenticated
is false.
- Platforms:
- iOS
token
: String
If a user is authenticated, the token for this session.
- Platforms:
- iOS
©2012-2013 Adobe Systems, inc
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Aug 31 2015 09:23:39 GMT-0700 (PDT)
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Aug 31 2015 09:23:39 GMT-0700 (PDT)