UserIdentityStoring

public protocol UserIdentityStoring : AnyObject

Protocol for describe how the certificate should store the identity and handle the stored ones

  • Store the identity for a specific URL

    Declaration

    Swift

    func store(identity: Data, for: URL) throws

    Parameters

    identity

    identity to store

    for

    URL wich is the key in the store

  • Retrieve the identity for a specific URL

    Declaration

    Swift

    func identity(for: URL) throws -> Data?

    Parameters

    for

    URL wich is the key in the store

    Return Value

    identity that can be use for the given URL

  • Delete the identity for a specific URL

    Declaration

    Swift

    func delete(for: URL) throws

    Parameters

    for

    URL wich is the key in the store