ClientCredentials

public struct ClientCredentials: Decodable

A type that contains the registration response info

  • An identifier for the client

    Declaration

    Swift

    public let clientId: UUID
  • An identifier for the key for use with the E3db service

    Declaration

    Swift

    public let apiKeyId: String
  • A secret to use with the E3db service

    Declaration

    Swift

    public let apiSecret: String
  • The name used during client registration

    Declaration

    Swift

    public let name: String
  • The public key registered with the E3db service and used for encryption

    Declaration

    Swift

    public let publicKey: String
  • The signing public key registered with the E3db service and used for signature operations

    Declaration

    Swift

    public let signingKey: String
  • A flag indicating whether this client is active

    Declaration

    Swift

    public let enabled: Bool
  • Declaration

    Swift

    public init(from decoder: Decoder) throws