Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthClient ¶
type AuthClient interface { Close() AuthnWithDid(did string, nonce string, enc []byte) error AuthenticateWithPassword(email string, password string) (*model.AuthToken, error) AuthnWithDidRegister(did string, nonce string, enc []byte) error CreateDidAuthenticationChallenge() (*DidAuthenticationChallenge, AuthApi.AuthApiService_AuthnWithDidStartClient, error) CreateDidRegistrationChallenge(auth_token string) (*DidRegistrationChallenge, StreamClient, error) }
func NewAuthClient ¶
func NewAuthClient(address string) (AuthClient, error)
type DidAuthenticationChallenge ¶ added in v0.1.7
type DidAuthenticationChallenge struct {
Nonce string
}
type DidRegistrationChallenge ¶ added in v0.1.7
type DidRegistrationChallenge struct {
Nonce string
}
type StreamClient ¶ added in v0.1.7
func NewAuthStream ¶ added in v0.1.7
func NewAuthStream(s grpc.ClientStream) StreamClient
Click to show internal directories.
Click to hide internal directories.