Token

@objc
public class Token : NSObject, Encodable, NSSecureCoding

Token class represents any token object type

Property

  • Raw value of token

    Declaration

    Swift

    @objc
    public var value: String
  • Declaration

    Swift

    public var successUrl: String
  • Declaration

    Swift

    public var realm: String

Debug

  • Prints debug description of Token object

    Declaration

    Swift

    override public var debugDescription: String { get }

NSSecureCoding

  • Boolean value of whether SecureCoding is supported or not

    Declaration

    Swift

    public class var supportsSecureCoding: Bool { get }
  • Initializes Token object with NSCoder

    Declaration

    Swift

    convenience required public init?(coder aDecoder: NSCoder)

    Parameters

    aDecoder

    NSCoder

  • Encodes Token object with NSCoder

    Declaration

    Swift

    public func encode(with aCoder: NSCoder)

    Parameters

    aCoder

    NSCoder

  • Evaluates whether given object is equal to the self-object or not

    Declaration

    Swift

    override public func isEqual(_ object: Any?) -> Bool

    Parameters

    object

    An object to be compared

    Return Value

    Boolean result of whether given Token is equal or not