AuthenticationStoragePolicy

public enum AuthenticationStoragePolicy : Codable, Hashable, Sendable

A policy for storing authentication state.

Cases

  • Uses the default storage policy. By default, authentication state is not shared between WebcomApplication instances.

    Declaration

    Swift

    case `default`
  • Indicates that authentication state is shared among instances using this mode.

    Declaration

    Swift

    case share
  • Indicates that authentication state is stored under the specified key.

    Declaration

    Swift

    case key(String)

Initializers

  • Declaration

    Swift

    public init(from decoder: any Decoder) throws

Encodable Protocol

  • Declaration

    Swift

    public func encode(to encoder: any Encoder) throws