backend

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: MIT Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_auth_backend_auth_backend_proto protoreflect.FileDescriptor

Functions

func RegisterAuthBackendServer

func RegisterAuthBackendServer(s *grpc.Server, srv AuthBackendServer)

Types

type AuthBackendClient

type AuthBackendClient interface {
	GetNewAuthChallenge(ctx context.Context, in *shared.IDQuery, opts ...grpc.CallOption) (*auth.AuthChallenge, error)
	GetSession(ctx context.Context, in *auth.Token, opts ...grpc.CallOption) (*shared.RoleypolySession, error)
}

AuthBackendClient is the client API for AuthBackend service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AuthBackendServer

type AuthBackendServer interface {
	GetNewAuthChallenge(context.Context, *shared.IDQuery) (*auth.AuthChallenge, error)
	GetSession(context.Context, *auth.Token) (*shared.RoleypolySession, error)
}

AuthBackendServer is the server API for AuthBackend service.

type UnimplementedAuthBackendServer

type UnimplementedAuthBackendServer struct {
}

UnimplementedAuthBackendServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthBackendServer) GetNewAuthChallenge added in v1.8.0

func (*UnimplementedAuthBackendServer) GetSession added in v1.7.0

Jump to

Keyboard shortcuts

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