Documentation
¶
Index ¶
- type AuthServer
- func (server AuthServer) GetAccessToken(ctx context.Context, req *pb.GetAccessTokenRequest) (_ *pb.GetAccessTokenResponse, err error)
- func (server AuthServer) GetValidationKeySet(_ *empty.Empty, stream pb.AuthService_GetValidationKeySetServer) (err error)
- func (server AuthServer) SignIn(ctx context.Context, req *pb.SignInRequest) (_ *pb.SignInResponse, err error)
- func (server AuthServer) SignOut(ctx context.Context, req *pb.SignOutRequest) (_ *empty.Empty, err error)
- func (server AuthServer) TranslateAccessToken(stream pb.AuthService_TranslateAccessTokenServer) error
- func (server AuthServer) ValidateRequestInterceptor() grpc.UnaryServerInterceptor
- type Config
- type Dependencies
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthServer ¶
type AuthServer struct { pb.UnimplementedAuthServiceServer // contains filtered or unexported fields }
func MakeAuthServer ¶
func MakeAuthServer(dependencies Dependencies, config Config) AuthServer
func (AuthServer) GetAccessToken ¶
func (server AuthServer) GetAccessToken(ctx context.Context, req *pb.GetAccessTokenRequest) (_ *pb.GetAccessTokenResponse, err error)
func (AuthServer) GetValidationKeySet ¶
func (server AuthServer) GetValidationKeySet(_ *empty.Empty, stream pb.AuthService_GetValidationKeySetServer) (err error)
func (AuthServer) SignIn ¶
func (server AuthServer) SignIn(ctx context.Context, req *pb.SignInRequest) (_ *pb.SignInResponse, err error)
func (AuthServer) SignOut ¶
func (server AuthServer) SignOut(ctx context.Context, req *pb.SignOutRequest) (_ *empty.Empty, err error)
func (AuthServer) TranslateAccessToken ¶
func (server AuthServer) TranslateAccessToken(stream pb.AuthService_TranslateAccessTokenServer) error
func (AuthServer) ValidateRequestInterceptor ¶
func (server AuthServer) ValidateRequestInterceptor() grpc.UnaryServerInterceptor
type Dependencies ¶
type Services ¶
type Services struct {
User userPb.UserServiceClient
}
Click to show internal directories.
Click to hide internal directories.