IAuthService
protocol IAuthServiceProtocol specifies methods which have to be implemented by class that performs requests to the AppAuth framework.
- 
                  
                  Performs obtaining service configuration for specified domain. DeclarationSwift func discoverServiceConfig(for url: URL, callback: @escaping (OIDServiceConfiguration?, Error?) -> Void)ParametersurlDomain for which the configuration should be obtained. callbackThe callback to invoke after service configuration obtaining. 
- 
                  
                  Presents authorization request. DeclarationSwift func presentAuthRequest(_ request: OIDAuthorizationRequest, viewController: UIViewController, callback: @escaping (OIDAuthorizationResponse?, Error?) -> Void) -> OIDExternalUserAgentSession?ParametersrequestRequest to be presented. viewControllerThe UIViewController to present auth request. callbackThe callback to invoke upon request completion. Return ValueUser session on success or nil on failure. 
- 
                  
                  Presents hybrid flow request. DeclarationSwift func presentHybridFlowRequest(_ requestUrl: URL, scheme: String?, userAgent: OIDExternalUserAgentIOS, callback: @escaping (URL?, Error?) -> Void)ParametersrequestUrlUrl which is used in hybrid flow request. schemeScheme which is used for hybrid flow request. userAgentAgent that takes part in hybrd flow request presentation. callbackThe callback to invoke upon request completion. 
- 
                  
                  Presents token request. DeclarationSwift func performTokenRequest(_ request: OIDTokenRequest, callback: @escaping (OIDTokenResponse?, Error?) -> Void)ParametersrequestRequest to be presented. callbackThe callback to invoke upon request completion. 
- 
                  
                  Presents end session request. DeclarationSwift func presentEndSessionRequest(_ request: OIDEndSessionRequest, externalUserAgent: OIDExternalUserAgent, callback: @escaping (OIDEndSessionResponse?, Error?) -> Void) -> OIDExternalUserAgentSession?ParametersrequestRequest to be presented. externalUserAgentAgent that takes part in end session request. callbackThe callback to invoke upon request completion. Return ValueSession on success or nil on failure. 
 IAuthService Protocol Reference
        IAuthService Protocol Reference