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.
func NewAuthBackendClient ¶
func NewAuthBackendClient(cc grpc.ClientConnInterface) AuthBackendClient
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) GetNewAuthChallenge(context.Context, *shared.IDQuery) (*auth.AuthChallenge, error)
func (*UnimplementedAuthBackendServer) GetSession ¶ added in v1.7.0
func (*UnimplementedAuthBackendServer) GetSession(context.Context, *auth.Token) (*shared.RoleypolySession, error)
Click to show internal directories.
Click to hide internal directories.