Packages

package authentication

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package grpc

Type Members

  1. trait HasExpiry extends AnyRef
  2. class MemberAuthenticationService extends NamedLogging with FlagCloseable

    The authentication service issues tokens to members after they have successfully completed the following challenge response protocol and after they have accepted the service agreement of the synchronizer.

    The authentication service issues tokens to members after they have successfully completed the following challenge response protocol and after they have accepted the service agreement of the synchronizer. The tokens are required for connecting to the sequencer.

    In order for a member to subscribe to the sequencer, it must follow a few steps for it to authenticate. Assuming the synchronizer already has knowledge of the member's public keys, the following steps are to be taken:

    1. member sends request to the synchronizer for authenticating
    2. synchronizer returns a nonce (a challenge random number)
    3. member takes the nonce, concatenates it with the identity of the synchronizer, signs it and sends it back
    4. synchronizer checks the signature against the key of the member. if it matches, create a token and return it
    5. member will use the token when subscribing to the sequencer
  3. trait MemberAuthenticationServiceFactory extends AnyRef
  4. class MemberAuthenticationServiceImpl extends MemberAuthenticationService with TopologyTransactionProcessingSubscriber
  5. class MemberAuthenticationStore extends AnyRef
  6. final case class StoredAuthenticationToken(member: Member, expireAt: CantonTimestamp, token: AuthenticationToken) extends Product with Serializable
  7. final case class StoredNonce(member: Member, nonce: Nonce, generatedAt: CantonTimestamp, expireAt: CantonTimestamp) extends HasExpiry with Product with Serializable

Ungrouped