SAMLAuthentication
public protocol SAMLAuthentication
The SAMLAuthentication
protocol defines an API to conduct SAML authentication.
-
Starts the SAML authentication process. The implementation should place the acquired cookie credentials into the provided session’s cookie storage.
Declaration
Swift
func authenticate(session: SAPURLSession, completionHandler: @escaping (Error?) -> Void)
-
Starts the SAML authentication process.
Declaration
Swift
func authenticate(cookies: [HTTPCookie], completionHandler: @escaping ([HTTPCookie]?, Error?) -> Void)
-
Cancels the ongoing authentication process.
Declaration
Swift
func cancelAuthentication()