authpb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: AGPL-3.0 Imports: 32 Imported by: 0

Documentation

Overview

Package authpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	JWTPurpose_name = map[int32]string{
		0: "AUTHENTICATION",
		1: "RESOURCES_ACCESS",
		2: "VALIDATION",
	}
	JWTPurpose_value = map[string]int32{
		"AUTHENTICATION":   0,
		"RESOURCES_ACCESS": 1,
		"VALIDATION":       2,
	}
)

Enum value maps for JWTPurpose.

View Source
var (
	JWTState_name = map[int32]string{
		0: "VALID",
		1: "NOT_VALID",
		2: "EXPIRED",
		3: "REVOKED",
		4: "NOT_SIGNED",
		5: "NOT_EFFECTIVE",
	}
	JWTState_value = map[string]int32{
		"VALID":         0,
		"NOT_VALID":     1,
		"EXPIRED":       2,
		"REVOKED":       3,
		"NOT_SIGNED":    4,
		"NOT_EFFECTIVE": 5,
	}
)

Enum value maps for JWTState.

View Source
var (
	EventAction_name = map[int32]string{
		0: "Delete",
		1: "Save",
	}
	EventAction_value = map[string]int32{
		"Delete": 0,
		"Save":   1,
	}
)

Enum value maps for EventAction.

Functions

func ContextWithToken

func ContextWithToken(ctx context.Context, t *JWT) context.Context

func ExtractJwtFromAccessToken

func ExtractJwtFromAccessToken(name, value string, codecs ...securecookie.Codec) (string, error)

func JwtEmbeddedAccessToken

func JwtEmbeddedAccessToken(name, jwt string, codecs ...securecookie.Codec) (string, error)

func NewTokenVerifier

func NewTokenVerifier(key *ecdsa.PublicKey) *tokenVerifier

func RegisterAuthenticationServiceHandler

func RegisterAuthenticationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAuthenticationServiceHandler registers the http handlers for service AuthenticationService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAuthenticationServiceHandlerClient

func RegisterAuthenticationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthenticationServiceClient) error

RegisterAuthenticationServiceHandlerClient registers the http handlers for service AuthenticationService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthenticationServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthenticationServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthenticationServiceClient" to call the correct interceptors.

func RegisterAuthenticationServiceHandlerFromEndpoint

func RegisterAuthenticationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAuthenticationServiceHandlerFromEndpoint is same as RegisterAuthenticationServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAuthenticationServiceHandlerServer

func RegisterAuthenticationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthenticationServiceServer) error

RegisterAuthenticationServiceHandlerServer registers the http handlers for service AuthenticationService to "mux". UnaryRPC :call AuthenticationServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthenticationServiceHandlerFromEndpoint instead.

func RegisterAuthenticationServiceServer

func RegisterAuthenticationServiceServer(s grpc.ServiceRegistrar, srv AuthenticationServiceServer)

func RegisterTokenStoreServiceHandler

func RegisterTokenStoreServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTokenStoreServiceHandler registers the http handlers for service TokenStoreService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTokenStoreServiceHandlerClient

func RegisterTokenStoreServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TokenStoreServiceClient) error

RegisterTokenStoreServiceHandlerClient registers the http handlers for service TokenStoreService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TokenStoreServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TokenStoreServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TokenStoreServiceClient" to call the correct interceptors.

func RegisterTokenStoreServiceHandlerFromEndpoint

func RegisterTokenStoreServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTokenStoreServiceHandlerFromEndpoint is same as RegisterTokenStoreServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTokenStoreServiceHandlerServer

func RegisterTokenStoreServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TokenStoreServiceServer) error

RegisterTokenStoreServiceHandlerServer registers the http handlers for service TokenStoreService to "mux". UnaryRPC :call TokenStoreServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTokenStoreServiceHandlerFromEndpoint instead.

func RegisterTokenStoreServiceServer

func RegisterTokenStoreServiceServer(s grpc.ServiceRegistrar, srv TokenStoreServiceServer)

func String

func String(jwt *JWT) (string, error)

String converts jwt to string

Types

type AuthenticateRequest

type AuthenticateRequest struct {
	Subject  string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateRequest) Descriptor deprecated

func (*AuthenticateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateRequest) GetPassword

func (x *AuthenticateRequest) GetPassword() string

func (*AuthenticateRequest) GetSubject

func (x *AuthenticateRequest) GetSubject() string

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) ProtoReflect

func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message

func (*AuthenticateRequest) Reset

func (x *AuthenticateRequest) Reset()

func (*AuthenticateRequest) String

func (x *AuthenticateRequest) String() string

func (*AuthenticateRequest) Validate

func (this *AuthenticateRequest) Validate() error

type AuthenticateResponse

type AuthenticateResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateResponse) Descriptor deprecated

func (*AuthenticateResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateResponse) GetSuccess

func (x *AuthenticateResponse) GetSuccess() bool

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) ProtoReflect

func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message

func (*AuthenticateResponse) Reset

func (x *AuthenticateResponse) Reset()

func (*AuthenticateResponse) String

func (x *AuthenticateResponse) String() string

func (*AuthenticateResponse) Validate

func (this *AuthenticateResponse) Validate() error

type AuthenticationServiceClient

type AuthenticationServiceClient interface {
	CreateCredentials(ctx context.Context, in *CreateCredentialsRequest, opts ...grpc.CallOption) (*CreateCredentialsResponse, error)
	UpdateEmail(ctx context.Context, in *UpdateEmailRequest, opts ...grpc.CallOption) (*UpdateEmailResponse, error)
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
	SetPassword(ctx context.Context, in *SetPasswordRequest, opts ...grpc.CallOption) (*SetPasswordResponse, error)
}

AuthenticationServiceClient is the client API for AuthenticationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AuthenticationServiceServer

type AuthenticationServiceServer interface {
	CreateCredentials(context.Context, *CreateCredentialsRequest) (*CreateCredentialsResponse, error)
	UpdateEmail(context.Context, *UpdateEmailRequest) (*UpdateEmailResponse, error)
	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
	SetPassword(context.Context, *SetPasswordRequest) (*SetPasswordResponse, error)
	// contains filtered or unexported methods
}

AuthenticationServiceServer is the server API for AuthenticationService service. All implementations must embed UnimplementedAuthenticationServiceServer for forward compatibility

type Claims

type Claims struct {
	Iss                string              `protobuf:"bytes,1,opt,name=iss,proto3" json:"iss,omitempty"`
	Sub                string              `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"`
	Aud                string              `protobuf:"bytes,3,opt,name=aud,proto3" json:"aud,omitempty"`
	Exp                int64               `protobuf:"varint,4,opt,name=exp,proto3" json:"exp,omitempty"`
	Nbf                int64               `protobuf:"varint,5,opt,name=nbf,proto3" json:"nbf,omitempty"`
	Iat                int64               `protobuf:"varint,6,opt,name=iat,proto3" json:"iat,omitempty"`
	Jti                string              `protobuf:"bytes,7,opt,name=jti,proto3" json:"jti,omitempty"`
	TokenIntrospection *TokenIntrospection `protobuf:"bytes,8,opt,name=token_introspection,json=tokenIntrospection,proto3" json:"token_introspection,omitempty"`
	Scope              string              `protobuf:"bytes,9,opt,name=scope,proto3" json:"scope,omitempty"`
	Name               string              `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
	Email              string              `protobuf:"bytes,11,opt,name=email,proto3" json:"email,omitempty"`
	EmailVerified      bool                `protobuf:"varint,12,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"`
	KeyUrl             string              `protobuf:"bytes,13,opt,name=key_url,json=keyUrl,proto3" json:"key_url,omitempty"`
	State              *State              `protobuf:"bytes,14,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Claims) Descriptor deprecated

func (*Claims) Descriptor() ([]byte, []int)

Deprecated: Use Claims.ProtoReflect.Descriptor instead.

func (*Claims) GetAud

func (x *Claims) GetAud() string

func (*Claims) GetEmail

func (x *Claims) GetEmail() string

func (*Claims) GetEmailVerified

func (x *Claims) GetEmailVerified() bool

func (*Claims) GetExp

func (x *Claims) GetExp() int64

func (*Claims) GetIat

func (x *Claims) GetIat() int64

func (*Claims) GetIss

func (x *Claims) GetIss() string

func (*Claims) GetJti

func (x *Claims) GetJti() string

func (*Claims) GetKeyUrl

func (x *Claims) GetKeyUrl() string

func (*Claims) GetName

func (x *Claims) GetName() string

func (*Claims) GetNbf

func (x *Claims) GetNbf() int64

func (*Claims) GetScope

func (x *Claims) GetScope() string

func (*Claims) GetState

func (x *Claims) GetState() *State

func (*Claims) GetSub

func (x *Claims) GetSub() string

func (*Claims) GetTokenIntrospection

func (x *Claims) GetTokenIntrospection() *TokenIntrospection

func (*Claims) ProtoMessage

func (*Claims) ProtoMessage()

func (*Claims) ProtoReflect

func (x *Claims) ProtoReflect() protoreflect.Message

func (*Claims) Reset

func (x *Claims) Reset()

func (*Claims) String

func (x *Claims) String() string

func (*Claims) Validate

func (this *Claims) Validate() error

type CookieJWTBearer

type CookieJWTBearer struct{}

type CreateCredentialsRequest

type CreateCredentialsRequest struct {
	Credentials *Credentials `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCredentialsRequest) Descriptor deprecated

func (*CreateCredentialsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateCredentialsRequest.ProtoReflect.Descriptor instead.

func (*CreateCredentialsRequest) GetCredentials

func (x *CreateCredentialsRequest) GetCredentials() *Credentials

func (*CreateCredentialsRequest) ProtoMessage

func (*CreateCredentialsRequest) ProtoMessage()

func (*CreateCredentialsRequest) ProtoReflect

func (x *CreateCredentialsRequest) ProtoReflect() protoreflect.Message

func (*CreateCredentialsRequest) Reset

func (x *CreateCredentialsRequest) Reset()

func (*CreateCredentialsRequest) String

func (x *CreateCredentialsRequest) String() string

func (*CreateCredentialsRequest) Validate

func (this *CreateCredentialsRequest) Validate() error

type CreateCredentialsResponse

type CreateCredentialsResponse struct {
	UserTaken  bool   `protobuf:"varint,1,opt,name=user_taken,json=userTaken,proto3" json:"user_taken,omitempty"`
	EmailTaken bool   `protobuf:"varint,2,opt,name=email_taken,json=emailTaken,proto3" json:"email_taken,omitempty"`
	Code       string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCredentialsResponse) Descriptor deprecated

func (*CreateCredentialsResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateCredentialsResponse.ProtoReflect.Descriptor instead.

func (*CreateCredentialsResponse) GetCode

func (x *CreateCredentialsResponse) GetCode() string

func (*CreateCredentialsResponse) GetEmailTaken

func (x *CreateCredentialsResponse) GetEmailTaken() bool

func (*CreateCredentialsResponse) GetUserTaken

func (x *CreateCredentialsResponse) GetUserTaken() bool

func (*CreateCredentialsResponse) ProtoMessage

func (*CreateCredentialsResponse) ProtoMessage()

func (*CreateCredentialsResponse) ProtoReflect

func (*CreateCredentialsResponse) Reset

func (x *CreateCredentialsResponse) Reset()

func (*CreateCredentialsResponse) String

func (x *CreateCredentialsResponse) String() string

func (*CreateCredentialsResponse) Validate

func (this *CreateCredentialsResponse) Validate() error

type CreateTokenRequest

type CreateTokenRequest struct {
	Sub         string            `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"`
	Audience    string            `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"`
	Scope       []string          `protobuf:"bytes,3,rep,name=scope,proto3" json:"scope,omitempty"`
	ScopeValues map[string]string `` /* 182-byte string literal not displayed */
	Data        map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateTokenRequest) Descriptor deprecated

func (*CreateTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateTokenRequest) GetAudience

func (x *CreateTokenRequest) GetAudience() string

func (*CreateTokenRequest) GetData

func (x *CreateTokenRequest) GetData() map[string]string

func (*CreateTokenRequest) GetScope

func (x *CreateTokenRequest) GetScope() []string

func (*CreateTokenRequest) GetScopeValues

func (x *CreateTokenRequest) GetScopeValues() map[string]string

func (*CreateTokenRequest) GetSub

func (x *CreateTokenRequest) GetSub() string

func (*CreateTokenRequest) ProtoMessage

func (*CreateTokenRequest) ProtoMessage()

func (*CreateTokenRequest) ProtoReflect

func (x *CreateTokenRequest) ProtoReflect() protoreflect.Message

func (*CreateTokenRequest) Reset

func (x *CreateTokenRequest) Reset()

func (*CreateTokenRequest) String

func (x *CreateTokenRequest) String() string

func (*CreateTokenRequest) Validate

func (this *CreateTokenRequest) Validate() error

type CreateTokenResponse

type CreateTokenResponse struct {
	Jwt *JWT `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenResponse) Descriptor deprecated

func (*CreateTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateTokenResponse) GetJwt

func (x *CreateTokenResponse) GetJwt() *JWT

func (*CreateTokenResponse) ProtoMessage

func (*CreateTokenResponse) ProtoMessage()

func (*CreateTokenResponse) ProtoReflect

func (x *CreateTokenResponse) ProtoReflect() protoreflect.Message

func (*CreateTokenResponse) Reset

func (x *CreateTokenResponse) Reset()

func (*CreateTokenResponse) String

func (x *CreateTokenResponse) String() string

func (*CreateTokenResponse) Validate

func (this *CreateTokenResponse) Validate() error

type Credentials

type Credentials struct {
	Subject  string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Email    string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*Credentials) Descriptor deprecated

func (*Credentials) Descriptor() ([]byte, []int)

Deprecated: Use Credentials.ProtoReflect.Descriptor instead.

func (*Credentials) GetEmail

func (x *Credentials) GetEmail() string

func (*Credentials) GetPassword

func (x *Credentials) GetPassword() string

func (*Credentials) GetSubject

func (x *Credentials) GetSubject() string

func (*Credentials) ProtoMessage

func (*Credentials) ProtoMessage()

func (*Credentials) ProtoReflect

func (x *Credentials) ProtoReflect() protoreflect.Message

func (*Credentials) Reset

func (x *Credentials) Reset()

func (*Credentials) String

func (x *Credentials) String() string

func (*Credentials) Validate

func (this *Credentials) Validate() error

type DeleteJwtRequest

type DeleteJwtRequest struct {
	Jti string `protobuf:"bytes,1,opt,name=jti,proto3" json:"jti,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteJwtRequest) Descriptor deprecated

func (*DeleteJwtRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteJwtRequest.ProtoReflect.Descriptor instead.

func (*DeleteJwtRequest) GetJti

func (x *DeleteJwtRequest) GetJti() string

func (*DeleteJwtRequest) ProtoMessage

func (*DeleteJwtRequest) ProtoMessage()

func (*DeleteJwtRequest) ProtoReflect

func (x *DeleteJwtRequest) ProtoReflect() protoreflect.Message

func (*DeleteJwtRequest) Reset

func (x *DeleteJwtRequest) Reset()

func (*DeleteJwtRequest) String

func (x *DeleteJwtRequest) String() string

func (*DeleteJwtRequest) Validate

func (this *DeleteJwtRequest) Validate() error

type DeleteJwtResponse

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

func (*DeleteJwtResponse) Descriptor deprecated

func (*DeleteJwtResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteJwtResponse.ProtoReflect.Descriptor instead.

func (*DeleteJwtResponse) ProtoMessage

func (*DeleteJwtResponse) ProtoMessage()

func (*DeleteJwtResponse) ProtoReflect

func (x *DeleteJwtResponse) ProtoReflect() protoreflect.Message

func (*DeleteJwtResponse) Reset

func (x *DeleteJwtResponse) Reset()

func (*DeleteJwtResponse) String

func (x *DeleteJwtResponse) String() string

func (*DeleteJwtResponse) Validate

func (this *DeleteJwtResponse) Validate() error

type Email

type Email struct {
	Email         string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	EmailVerified bool   `protobuf:"varint,2,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"`
	// contains filtered or unexported fields
}

func (*Email) Descriptor deprecated

func (*Email) Descriptor() ([]byte, []int)

Deprecated: Use Email.ProtoReflect.Descriptor instead.

func (*Email) GetEmail

func (x *Email) GetEmail() string

func (*Email) GetEmailVerified

func (x *Email) GetEmailVerified() bool

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) ProtoReflect

func (x *Email) ProtoReflect() protoreflect.Message

func (*Email) Reset

func (x *Email) Reset()

func (*Email) String

func (x *Email) String() string

func (*Email) Validate

func (this *Email) Validate() error

type EventAction

type EventAction int32
const (
	EventAction_Delete EventAction = 0
	EventAction_Save   EventAction = 1
)

func (EventAction) Descriptor

func (EventAction) Enum

func (x EventAction) Enum() *EventAction

func (EventAction) EnumDescriptor deprecated

func (EventAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventAction.Descriptor instead.

func (EventAction) Number

func (x EventAction) Number() protoreflect.EnumNumber

func (EventAction) String

func (x EventAction) String() string

func (EventAction) Type

type GetJwtInfoRequest

type GetJwtInfoRequest struct {
	Jti       string `protobuf:"bytes,1,opt,name=jti,proto3" json:"jti,omitempty"`
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*GetJwtInfoRequest) Descriptor deprecated

func (*GetJwtInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetJwtInfoRequest.ProtoReflect.Descriptor instead.

func (*GetJwtInfoRequest) GetJti

func (x *GetJwtInfoRequest) GetJti() string

func (*GetJwtInfoRequest) GetSignature

func (x *GetJwtInfoRequest) GetSignature() string

func (*GetJwtInfoRequest) ProtoMessage

func (*GetJwtInfoRequest) ProtoMessage()

func (*GetJwtInfoRequest) ProtoReflect

func (x *GetJwtInfoRequest) ProtoReflect() protoreflect.Message

func (*GetJwtInfoRequest) Reset

func (x *GetJwtInfoRequest) Reset()

func (*GetJwtInfoRequest) String

func (x *GetJwtInfoRequest) String() string

func (*GetJwtInfoRequest) Validate

func (this *GetJwtInfoRequest) Validate() error

type GetJwtInfoResponse

type GetJwtInfoResponse struct {
	State JWTState `protobuf:"varint,1,opt,name=state,proto3,enum=JWTState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*GetJwtInfoResponse) Descriptor deprecated

func (*GetJwtInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetJwtInfoResponse.ProtoReflect.Descriptor instead.

func (*GetJwtInfoResponse) GetState

func (x *GetJwtInfoResponse) GetState() JWTState

func (*GetJwtInfoResponse) ProtoMessage

func (*GetJwtInfoResponse) ProtoMessage()

func (*GetJwtInfoResponse) ProtoReflect

func (x *GetJwtInfoResponse) ProtoReflect() protoreflect.Message

func (*GetJwtInfoResponse) Reset

func (x *GetJwtInfoResponse) Reset()

func (*GetJwtInfoResponse) String

func (x *GetJwtInfoResponse) String() string

func (*GetJwtInfoResponse) Validate

func (this *GetJwtInfoResponse) Validate() error

type JWT

type JWT struct {
	Header    *JWTHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Claims    *Claims    `protobuf:"bytes,2,opt,name=claims,proto3" json:"claims,omitempty"`
	Signature string     `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func ParseJWT

func ParseJWT(jwt string) (*JWT, error)

func TokenFromContext

func TokenFromContext(ctx context.Context) *JWT

func (*JWT) Descriptor deprecated

func (*JWT) Descriptor() ([]byte, []int)

Deprecated: Use JWT.ProtoReflect.Descriptor instead.

func (*JWT) EcdsaBasedSignature

func (x *JWT) EcdsaBasedSignature(key *ecdsa.PrivateKey) (string, error)

func (*JWT) EcdsaBasedVerify

func (x *JWT) EcdsaBasedVerify(key *ecdsa.PublicKey) (bool, error)

func (*JWT) GetClaims

func (x *JWT) GetClaims() *Claims

func (*JWT) GetHeader

func (x *JWT) GetHeader() *JWTHeader

func (*JWT) GetSignature

func (x *JWT) GetSignature() string

func (*JWT) ProtoMessage

func (*JWT) ProtoMessage()

func (*JWT) ProtoReflect

func (x *JWT) ProtoReflect() protoreflect.Message

func (*JWT) Reset

func (x *JWT) Reset()

func (*JWT) SecretBasedSignature added in v1.0.0

func (x *JWT) SecretBasedSignature(secret string) (string, error)

func (*JWT) String

func (x *JWT) String() string

func (*JWT) Validate

func (this *JWT) Validate() error

func (*JWT) Verify

func (jwt *JWT) Verify(pemKey string) (JWTState, error)

Verify verifies token using pem encoded public key pemKey

type JWTHeader

type JWTHeader struct {
	Typ string `protobuf:"bytes,1,opt,name=typ,proto3" json:"typ,omitempty"`
	Alg string `protobuf:"bytes,2,opt,name=alg,proto3" json:"alg,omitempty"`
	Kid string `protobuf:"bytes,3,opt,name=kid,proto3" json:"kid,omitempty"`
	// contains filtered or unexported fields
}

func (*JWTHeader) Descriptor deprecated

func (*JWTHeader) Descriptor() ([]byte, []int)

Deprecated: Use JWTHeader.ProtoReflect.Descriptor instead.

func (*JWTHeader) GetAlg

func (x *JWTHeader) GetAlg() string

func (*JWTHeader) GetKid

func (x *JWTHeader) GetKid() string

func (*JWTHeader) GetTyp

func (x *JWTHeader) GetTyp() string

func (*JWTHeader) ProtoMessage

func (*JWTHeader) ProtoMessage()

func (*JWTHeader) ProtoReflect

func (x *JWTHeader) ProtoReflect() protoreflect.Message

func (*JWTHeader) Reset

func (x *JWTHeader) Reset()

func (*JWTHeader) String

func (x *JWTHeader) String() string

func (*JWTHeader) Validate

func (this *JWTHeader) Validate() error

type JWTPurpose

type JWTPurpose int32
const (
	JWTPurpose_AUTHENTICATION   JWTPurpose = 0
	JWTPurpose_RESOURCES_ACCESS JWTPurpose = 1
	JWTPurpose_VALIDATION       JWTPurpose = 2
)

func (JWTPurpose) Descriptor

func (JWTPurpose) Descriptor() protoreflect.EnumDescriptor

func (JWTPurpose) Enum

func (x JWTPurpose) Enum() *JWTPurpose

func (JWTPurpose) EnumDescriptor deprecated

func (JWTPurpose) EnumDescriptor() ([]byte, []int)

Deprecated: Use JWTPurpose.Descriptor instead.

func (JWTPurpose) Number

func (x JWTPurpose) Number() protoreflect.EnumNumber

func (JWTPurpose) String

func (x JWTPurpose) String() string

func (JWTPurpose) Type

type JWTState

type JWTState int32
const (
	JWTState_VALID         JWTState = 0
	JWTState_NOT_VALID     JWTState = 1
	JWTState_EXPIRED       JWTState = 2
	JWTState_REVOKED       JWTState = 3
	JWTState_NOT_SIGNED    JWTState = 4
	JWTState_NOT_EFFECTIVE JWTState = 5
)

func (JWTState) Descriptor

func (JWTState) Descriptor() protoreflect.EnumDescriptor

func (JWTState) Enum

func (x JWTState) Enum() *JWTState

func (JWTState) EnumDescriptor deprecated

func (JWTState) EnumDescriptor() ([]byte, []int)

Deprecated: Use JWTState.Descriptor instead.

func (JWTState) Number

func (x JWTState) Number() protoreflect.EnumNumber

func (JWTState) String

func (x JWTState) String() string

func (JWTState) Type

type JwtInfo

type JwtInfo struct {
	Iss   string   `protobuf:"bytes,1,opt,name=iss,proto3" json:"iss,omitempty"`
	Aud   string   `protobuf:"bytes,2,opt,name=aud,proto3" json:"aud,omitempty"`
	Jti   string   `protobuf:"bytes,3,opt,name=jti,proto3" json:"jti,omitempty"`
	Nbf   int64    `protobuf:"varint,4,opt,name=nbf,proto3" json:"nbf,omitempty"`
	Exp   int64    `protobuf:"varint,5,opt,name=exp,proto3" json:"exp,omitempty"`
	State JWTState `protobuf:"varint,6,opt,name=state,proto3,enum=JWTState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtInfo) Descriptor deprecated

func (*JwtInfo) Descriptor() ([]byte, []int)

Deprecated: Use JwtInfo.ProtoReflect.Descriptor instead.

func (*JwtInfo) GetAud

func (x *JwtInfo) GetAud() string

func (*JwtInfo) GetExp

func (x *JwtInfo) GetExp() int64

func (*JwtInfo) GetIss

func (x *JwtInfo) GetIss() string

func (*JwtInfo) GetJti

func (x *JwtInfo) GetJti() string

func (*JwtInfo) GetNbf

func (x *JwtInfo) GetNbf() int64

func (*JwtInfo) GetState

func (x *JwtInfo) GetState() JWTState

func (*JwtInfo) ProtoMessage

func (*JwtInfo) ProtoMessage()

func (*JwtInfo) ProtoReflect

func (x *JwtInfo) ProtoReflect() protoreflect.Message

func (*JwtInfo) Reset

func (x *JwtInfo) Reset()

func (*JwtInfo) String

func (x *JwtInfo) String() string

func (*JwtInfo) Validate

func (this *JwtInfo) Validate() error

type Profile

type Profile struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	FamilyName string `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
	GivenName  string `protobuf:"bytes,3,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
	MiddleName string `protobuf:"bytes,4,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
	Nickname   string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Picture    string `protobuf:"bytes,6,opt,name=picture,proto3" json:"picture,omitempty"`
	UpdatedAt  int64  `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile) Descriptor deprecated

func (*Profile) Descriptor() ([]byte, []int)

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetFamilyName

func (x *Profile) GetFamilyName() string

func (*Profile) GetGivenName

func (x *Profile) GetGivenName() string

func (*Profile) GetMiddleName

func (x *Profile) GetMiddleName() string

func (*Profile) GetName

func (x *Profile) GetName() string

func (*Profile) GetNickname

func (x *Profile) GetNickname() string

func (*Profile) GetPicture

func (x *Profile) GetPicture() string

func (*Profile) GetUpdatedAt

func (x *Profile) GetUpdatedAt() int64

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

func (x *Profile) ProtoReflect() protoreflect.Message

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

func (*Profile) Validate

func (this *Profile) Validate() error

type SaveJwtRequest

type SaveJwtRequest struct {
	Info *JwtInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveJwtRequest) Descriptor deprecated

func (*SaveJwtRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveJwtRequest.ProtoReflect.Descriptor instead.

func (*SaveJwtRequest) GetInfo

func (x *SaveJwtRequest) GetInfo() *JwtInfo

func (*SaveJwtRequest) ProtoMessage

func (*SaveJwtRequest) ProtoMessage()

func (*SaveJwtRequest) ProtoReflect

func (x *SaveJwtRequest) ProtoReflect() protoreflect.Message

func (*SaveJwtRequest) Reset

func (x *SaveJwtRequest) Reset()

func (*SaveJwtRequest) String

func (x *SaveJwtRequest) String() string

func (*SaveJwtRequest) Validate

func (this *SaveJwtRequest) Validate() error

type SaveJwtResponse

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

func (*SaveJwtResponse) Descriptor deprecated

func (*SaveJwtResponse) Descriptor() ([]byte, []int)

Deprecated: Use SaveJwtResponse.ProtoReflect.Descriptor instead.

func (*SaveJwtResponse) ProtoMessage

func (*SaveJwtResponse) ProtoMessage()

func (*SaveJwtResponse) ProtoReflect

func (x *SaveJwtResponse) ProtoReflect() protoreflect.Message

func (*SaveJwtResponse) Reset

func (x *SaveJwtResponse) Reset()

func (*SaveJwtResponse) String

func (x *SaveJwtResponse) String() string

func (*SaveJwtResponse) Validate

func (this *SaveJwtResponse) Validate() error

type SetPasswordRequest

type SetPasswordRequest struct {
	User        string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Email       string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	OldPassword string `protobuf:"bytes,3,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	NewPassword string `protobuf:"bytes,4,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPasswordRequest) Descriptor deprecated

func (*SetPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetPasswordRequest.ProtoReflect.Descriptor instead.

func (*SetPasswordRequest) GetEmail

func (x *SetPasswordRequest) GetEmail() string

func (*SetPasswordRequest) GetNewPassword

func (x *SetPasswordRequest) GetNewPassword() string

func (*SetPasswordRequest) GetOldPassword

func (x *SetPasswordRequest) GetOldPassword() string

func (*SetPasswordRequest) GetUser

func (x *SetPasswordRequest) GetUser() string

func (*SetPasswordRequest) ProtoMessage

func (*SetPasswordRequest) ProtoMessage()

func (*SetPasswordRequest) ProtoReflect

func (x *SetPasswordRequest) ProtoReflect() protoreflect.Message

func (*SetPasswordRequest) Reset

func (x *SetPasswordRequest) Reset()

func (*SetPasswordRequest) String

func (x *SetPasswordRequest) String() string

func (*SetPasswordRequest) Validate

func (this *SetPasswordRequest) Validate() error

type SetPasswordResponse

type SetPasswordResponse struct {
	AlreadyUsed bool `protobuf:"varint,1,opt,name=already_used,json=alreadyUsed,proto3" json:"already_used,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPasswordResponse) Descriptor deprecated

func (*SetPasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetPasswordResponse.ProtoReflect.Descriptor instead.

func (*SetPasswordResponse) GetAlreadyUsed

func (x *SetPasswordResponse) GetAlreadyUsed() bool

func (*SetPasswordResponse) ProtoMessage

func (*SetPasswordResponse) ProtoMessage()

func (*SetPasswordResponse) ProtoReflect

func (x *SetPasswordResponse) ProtoReflect() protoreflect.Message

func (*SetPasswordResponse) Reset

func (x *SetPasswordResponse) Reset()

func (*SetPasswordResponse) String

func (x *SetPasswordResponse) String() string

func (*SetPasswordResponse) Validate

func (this *SetPasswordResponse) Validate() error

type State

type State struct {
	Service     string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	ApiEndpoint string `protobuf:"bytes,2,opt,name=api_endpoint,json=apiEndpoint,proto3" json:"api_endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*State) Descriptor deprecated

func (*State) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetApiEndpoint

func (x *State) GetApiEndpoint() string

func (*State) GetService

func (x *State) GetService() string

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

func (*State) Validate

func (this *State) Validate() error

type StringTokenVerifier

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

func NewStringTokenVerifier

func NewStringTokenVerifier(tv TokenVerifier) *StringTokenVerifier

func (*StringTokenVerifier) Verify

func (stv *StringTokenVerifier) Verify(ctx context.Context, jwt string) (context.Context, error)

type SyncMessage

type SyncMessage struct {
	Action EventAction `protobuf:"varint,1,opt,name=action,proto3,enum=EventAction" json:"action,omitempty"`
	Jti    string      `protobuf:"bytes,2,opt,name=jti,proto3" json:"jti,omitempty"`
	Info   *JwtInfo    `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncMessage) Descriptor deprecated

func (*SyncMessage) Descriptor() ([]byte, []int)

Deprecated: Use SyncMessage.ProtoReflect.Descriptor instead.

func (*SyncMessage) GetAction

func (x *SyncMessage) GetAction() EventAction

func (*SyncMessage) GetInfo

func (x *SyncMessage) GetInfo() *JwtInfo

func (*SyncMessage) GetJti

func (x *SyncMessage) GetJti() string

func (*SyncMessage) ProtoMessage

func (*SyncMessage) ProtoMessage()

func (*SyncMessage) ProtoReflect

func (x *SyncMessage) ProtoReflect() protoreflect.Message

func (*SyncMessage) Reset

func (x *SyncMessage) Reset()

func (*SyncMessage) String

func (x *SyncMessage) String() string

func (*SyncMessage) Validate

func (this *SyncMessage) Validate() error

type TokenIntrospection

type TokenIntrospection struct {
	Active   bool   `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	Iss      string `protobuf:"bytes,2,opt,name=iss,proto3" json:"iss,omitempty"`
	Aud      string `protobuf:"bytes,3,opt,name=aud,proto3" json:"aud,omitempty"`
	Iat      int64  `protobuf:"varint,4,opt,name=iat,proto3" json:"iat,omitempty"`
	Exp      int64  `protobuf:"varint,5,opt,name=exp,proto3" json:"exp,omitempty"`
	ClientId string `protobuf:"bytes,6,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Scope    string `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"`
	Sub      string `protobuf:"bytes,8,opt,name=sub,proto3" json:"sub,omitempty"`
	Jti      string `protobuf:"bytes,9,opt,name=jti,proto3" json:"jti,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenIntrospection) Descriptor deprecated

func (*TokenIntrospection) Descriptor() ([]byte, []int)

Deprecated: Use TokenIntrospection.ProtoReflect.Descriptor instead.

func (*TokenIntrospection) GetActive

func (x *TokenIntrospection) GetActive() bool

func (*TokenIntrospection) GetAud

func (x *TokenIntrospection) GetAud() string

func (*TokenIntrospection) GetClientId

func (x *TokenIntrospection) GetClientId() string

func (*TokenIntrospection) GetExp

func (x *TokenIntrospection) GetExp() int64

func (*TokenIntrospection) GetIat

func (x *TokenIntrospection) GetIat() int64

func (*TokenIntrospection) GetIss

func (x *TokenIntrospection) GetIss() string

func (*TokenIntrospection) GetJti

func (x *TokenIntrospection) GetJti() string

func (*TokenIntrospection) GetScope

func (x *TokenIntrospection) GetScope() string

func (*TokenIntrospection) GetSub

func (x *TokenIntrospection) GetSub() string

func (*TokenIntrospection) ProtoMessage

func (*TokenIntrospection) ProtoMessage()

func (*TokenIntrospection) ProtoReflect

func (x *TokenIntrospection) ProtoReflect() protoreflect.Message

func (*TokenIntrospection) Reset

func (x *TokenIntrospection) Reset()

func (*TokenIntrospection) String

func (x *TokenIntrospection) String() string

func (*TokenIntrospection) Validate

func (this *TokenIntrospection) Validate() error

type TokenStoreServiceClient

type TokenStoreServiceClient interface {
	Sync(ctx context.Context, opts ...grpc.CallOption) (TokenStoreService_SyncClient, error)
	SaveJwt(ctx context.Context, in *SaveJwtRequest, opts ...grpc.CallOption) (*SaveJwtResponse, error)
	DeleteJwt(ctx context.Context, in *DeleteJwtRequest, opts ...grpc.CallOption) (*DeleteJwtResponse, error)
	GetJwtInfo(ctx context.Context, in *GetJwtInfoRequest, opts ...grpc.CallOption) (*GetJwtInfoResponse, error)
}

TokenStoreServiceClient is the client API for TokenStoreService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TokenStoreServiceServer

type TokenStoreServiceServer interface {
	Sync(TokenStoreService_SyncServer) error
	SaveJwt(context.Context, *SaveJwtRequest) (*SaveJwtResponse, error)
	DeleteJwt(context.Context, *DeleteJwtRequest) (*DeleteJwtResponse, error)
	GetJwtInfo(context.Context, *GetJwtInfoRequest) (*GetJwtInfoResponse, error)
	// contains filtered or unexported methods
}

TokenStoreServiceServer is the server API for TokenStoreService service. All implementations must embed UnimplementedTokenStoreServiceServer for forward compatibility

type TokenStoreService_SyncClient

type TokenStoreService_SyncClient interface {
	Send(*SyncMessage) error
	Recv() (*SyncMessage, error)
	grpc.ClientStream
}

type TokenStoreService_SyncServer

type TokenStoreService_SyncServer interface {
	Send(*SyncMessage) error
	Recv() (*SyncMessage, error)
	grpc.ServerStream
}

type TokenVerifier

type TokenVerifier interface {
	Verify(ctx context.Context, t *JWT) (JWTState, error)
}

type UnimplementedAuthenticationServiceServer

type UnimplementedAuthenticationServiceServer struct {
}

UnimplementedAuthenticationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthenticationServiceServer) Authenticate

func (UnimplementedAuthenticationServiceServer) CreateCredentials

func (UnimplementedAuthenticationServiceServer) SetPassword

func (UnimplementedAuthenticationServiceServer) UpdateEmail

type UnimplementedTokenStoreServiceServer

type UnimplementedTokenStoreServiceServer struct {
}

UnimplementedTokenStoreServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTokenStoreServiceServer) DeleteJwt

func (UnimplementedTokenStoreServiceServer) GetJwtInfo

func (UnimplementedTokenStoreServiceServer) SaveJwt

func (UnimplementedTokenStoreServiceServer) Sync

type UnsafeAuthenticationServiceServer

type UnsafeAuthenticationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthenticationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticationServiceServer will result in compilation errors.

type UnsafeTokenStoreServiceServer

type UnsafeTokenStoreServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTokenStoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TokenStoreServiceServer will result in compilation errors.

type UpdateEmailRequest

type UpdateEmailRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	OldEmail string `protobuf:"bytes,2,opt,name=old_email,json=oldEmail,proto3" json:"old_email,omitempty"`
	NewEmail string `protobuf:"bytes,3,opt,name=new_email,json=newEmail,proto3" json:"new_email,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEmailRequest) Descriptor deprecated

func (*UpdateEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEmailRequest.ProtoReflect.Descriptor instead.

func (*UpdateEmailRequest) GetNewEmail

func (x *UpdateEmailRequest) GetNewEmail() string

func (*UpdateEmailRequest) GetOldEmail

func (x *UpdateEmailRequest) GetOldEmail() string

func (*UpdateEmailRequest) GetUsername

func (x *UpdateEmailRequest) GetUsername() string

func (*UpdateEmailRequest) ProtoMessage

func (*UpdateEmailRequest) ProtoMessage()

func (*UpdateEmailRequest) ProtoReflect

func (x *UpdateEmailRequest) ProtoReflect() protoreflect.Message

func (*UpdateEmailRequest) Reset

func (x *UpdateEmailRequest) Reset()

func (*UpdateEmailRequest) String

func (x *UpdateEmailRequest) String() string

func (*UpdateEmailRequest) Validate

func (this *UpdateEmailRequest) Validate() error

type UpdateEmailResponse

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

func (*UpdateEmailResponse) Descriptor deprecated

func (*UpdateEmailResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEmailResponse.ProtoReflect.Descriptor instead.

func (*UpdateEmailResponse) ProtoMessage

func (*UpdateEmailResponse) ProtoMessage()

func (*UpdateEmailResponse) ProtoReflect

func (x *UpdateEmailResponse) ProtoReflect() protoreflect.Message

func (*UpdateEmailResponse) Reset

func (x *UpdateEmailResponse) Reset()

func (*UpdateEmailResponse) String

func (x *UpdateEmailResponse) String() string

func (*UpdateEmailResponse) Validate

func (this *UpdateEmailResponse) Validate() error

Jump to

Keyboard shortcuts

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