AuthenticationSubscription
public final class AuthenticationSubscription : Hashable, CustomStringConvertible, CustomDebugStringConvertible
An object representing a subscription to Authentication events.
Instances are created by the AuthenticationService.subscribe(stores:file:line:queue:onEvent:onCompletion:)
method.
-
Cancels this subscription.
Declaration
Swift
@discardableResult public func cancel() -> Bool
Return Value
true
if the subscription has been cancelled by this call,false
if it had already been cancelled before.
-
Declaration
Swift
public static func == (left: AuthenticationSubscription, right: AuthenticationSubscription) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public var debugDescription: String { get }