AuthStorage

public enum AuthStorage : Codable, Hashable

A value specifying the location of authentication state storage in local storage

Cases

  • Indicates that default storage key is used (by default unique for each WebcomApplication instance)

    Declaration

    Swift

    case `default`
  • Indicates s specific key under which authentication state will be stored

    Declaration

    Swift

    case key(storageKey: String)
  • Indicates that authentication state storage will be shared among WebcomApplication instances

    Declaration

    Swift

    case share

Initializers

  • Declaration

    Swift

    public init(from decoder: Decoder) throws

Encodable Protocol

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws