auth

package
v0.3.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAuthIPFSService

func RegisterAuthIPFSService(cctx client.Context, mux *runtime.ServeMux, node config.IPFSNode) error

It creates a new VaultService and registers it with the gRPC server

Types

type AuthService

type AuthService struct {
	// contains filtered or unexported fields
}

`AuthService` is a struct that contains a reference to a cache, a client context, and an IPFS node. @property {string} rpName - The name of the relying party. @property {string} rpIcon - The icon of the relying party. @property cache - a cache for storing the user's session @property cctx - The client context for the service. @property node - This is the IPFS node that the service will use to store and retrieve data.

func (*AuthService) Assertion

Returning the options for the assertion.

func (*AuthService) Challenge

Creating a new session and storing it in the cache.

func (*AuthService) Login

A gRPC endpoint that is called by the client.

func (*AuthService) Register

Registering the credential.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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