Authenticator
@objc(SFMCSdkAuthenticator)
public protocol Authenticator
Protocol to adhere in order to provide an interface for extending modules to implement authentication.
- Tag: Authenticator
-
Coordinates multiple threads of execution within the same app.
Declaration
Swift
var lock: NSLock { get }
-
Returns cached token header.
Declaration
Swift
func getCachedTokenHeader() -> AuthHeader?
-
Refreshes auth token header.
Declaration
Swift
func refreshAuthTokenHeader() -> AuthHeader?
-
Deletes cached token.
Declaration
Swift
func deleteCachedToken()