service

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationService

type AuthenticationService struct {
	Node       common.IPFSNode
	Dispatcher *dispatcher.Dispatcher
}

`AuthenticationService` is a type that implements the `v1.VaultServer` interface, and has a field called `highway` of type `*HighwayNode`. @property - `v1.VaultServer`: This is the interface that the Vault service implements. @property highway - This is the HighwayNode that the AuthenticationService is running on.

func (*AuthenticationService) LoginFinish

LoginFinish returns a challenge to be signed by the user.

func (*AuthenticationService) LoginStart

LoginStart returns a challenge to be signed by the user.

func (*AuthenticationService) RegisterFinish

CreateAccount derives a new key from the private key and returns the public key.

func (*AuthenticationService) RegisterStart

Register registers a new keypair and returns the public key.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL