RSDAuthorizationAdaptor
public protocol RSDAuthorizationAdaptor : AnyObject
An authorization adapter is a class that can manage requesting authorization for a given permission.
-
A list of the permissions that this adaptor can manage.
Declaration
Swift
var permissions: [RSDPermissionType] { get } -
The current status of the authorization.
Declaration
Swift
func authorizationStatus(for permission: String) -> RSDAuthorizationStatus -
Requesting the authorization.
Declaration
Swift
func requestAuthorization(for permission: RSDPermission, _ completion: @escaping ((RSDAuthorizationStatus, Error?) -> Void))
View on GitHub
RSDAuthorizationAdaptor Protocol Reference