IDPSessionDelegate
public protocol IDPSessionDelegate : AnyObject
Delegate for HTTPClient Interceptor(s)
-
Asks the delegate whether the given request should be authorized
Declaration
Swift
func shouldAuthorize(request: URLRequest) -> Bool
Parameters
request
request to authorize
Return Value
when returning true the Interceptor must authorize the request