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.

API

  • 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.

Equatable Protocol

  • Declaration

    Swift

    public static func == (left: AuthenticationSubscription, right: AuthenticationSubscription) -> Bool

Hashable Protocol

  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)

CustomStringConvertible Protocol

  • Declaration

    Swift

    public var description: String { get }

CustomDebugStringConvertible Protocol

  • Declaration

    Swift

    public var debugDescription: String { get }