UAAAuthorizationHandler
open class UAAAuthorizationHandler: AuthorizationHandlerAuthorizationHandler to extract authorization data from the UAA oAuth token
- 
                  
                  Initializes and returns a UAAAuthorizationHandler object DeclarationSwift public init()
- 
                  
                  Starts the authorization process. Called by the associated AuthenticationManagerwhen needed.DeclarationSwift open func authorize(authenticationPayload: [String: Any], completionHandler: @escaping (_ userInformation: [String: Any]) -> Void)ParametersauthenticationPayloadthe dictionary of information gathered during the authentication process. This information usually contains user-identifying tokens which are exchanged for specific user data during the authentication process. completionHandlerclosure called when authorization has completed. userInformationdictionary of user information retrieved during the authorization process. 
- 
                  
                  Parses a UAA access token, and returns a dictionary of the token’s data components DeclarationSwift open func parseAuthenticationData(from token: String) -> [String: Any]ParameterstokenA UAA access token Return Valuedictionary of elements extracted from the provided token 
- 
                  
                  Extracts the user name from the provided authentication data dictionary, and creates a Userobject.DeclarationSwift open func createUser(authenticationData: [String: Any], userNameKey: String) -> User?ParametersauthenticationDataDictionary of elements userNameKeyKey in the dictionary of the user name Return ValueUserobject created with the user’s name, or nil if no user name could be found
 View on GitHub
            View on GitHub
           UAAAuthorizationHandler Class Reference
      UAAAuthorizationHandler Class Reference