Documentation ¶
Overview ¶
Package auth is a generated protocol buffer package.
It is generated from these files:
auth.proto
It has these top-level messages:
Token RevokeTokenRequest RevokeTokenResponse PruneTokensRequest PruneTokensResponse ID GetLoginRequest GetLoginResponse CreateLoginRequest CreateLoginResponse AcceptLoginRequest AcceptLoginResponse GetConsentRequest GetConsentResponse CreateConsentRequest CreateConsentResponse AcceptConsentRequest AcceptConsentResponse CreateLogoutRequest CreateLogoutResponse AcceptLogoutRequest AcceptLogoutResponse CreateAuthCodeRequest CreateAuthCodeResponse VerifyTokenRequest VerifyTokenResponse ExchangeRequest ExchangeResponse PasswordCredentialsTokenRequest PasswordCredentialsTokenResponse RefreshTokenRequest RefreshTokenResponse PersonalAccessToken PatGenerateRequest PatGenerateResponse PatListRequest PatListResponse PatRevokeRequest PatRevokeResponse
Package auth is a generated protocol buffer package.
It is generated from these files:
auth.proto
It has these top-level messages:
Token RevokeTokenRequest RevokeTokenResponse PruneTokensRequest PruneTokensResponse ID GetLoginRequest GetLoginResponse CreateLoginRequest CreateLoginResponse AcceptLoginRequest AcceptLoginResponse GetConsentRequest GetConsentResponse CreateConsentRequest CreateConsentResponse AcceptConsentRequest AcceptConsentResponse CreateLogoutRequest CreateLogoutResponse AcceptLogoutRequest AcceptLogoutResponse CreateAuthCodeRequest CreateAuthCodeResponse VerifyTokenRequest VerifyTokenResponse ExchangeRequest ExchangeResponse PasswordCredentialsTokenRequest PasswordCredentialsTokenResponse RefreshTokenRequest RefreshTokenResponse PersonalAccessToken PatGenerateRequest PatGenerateResponse PatListRequest PatListResponse PatRevokeRequest PatRevokeResponse
Index ¶
- Variables
- func RegisterAuthCodeExchangerHandler(s server.Server, hdlr AuthCodeExchangerHandler, opts ...server.HandlerOption)
- func RegisterAuthCodeProviderHandler(s server.Server, hdlr AuthCodeProviderHandler, opts ...server.HandlerOption)
- func RegisterAuthTokenPrunerHandler(s server.Server, hdlr AuthTokenPrunerHandler, opts ...server.HandlerOption)
- func RegisterAuthTokenRefresherHandler(s server.Server, hdlr AuthTokenRefresherHandler, opts ...server.HandlerOption)
- func RegisterAuthTokenRevokerHandler(s server.Server, hdlr AuthTokenRevokerHandler, opts ...server.HandlerOption)
- func RegisterAuthTokenVerifierHandler(s server.Server, hdlr AuthTokenVerifierHandler, opts ...server.HandlerOption)
- func RegisterConsentProviderHandler(s server.Server, hdlr ConsentProviderHandler, opts ...server.HandlerOption)
- func RegisterLoginProviderHandler(s server.Server, hdlr LoginProviderHandler, opts ...server.HandlerOption)
- func RegisterLogoutProviderHandler(s server.Server, hdlr LogoutProviderHandler, opts ...server.HandlerOption)
- func RegisterPasswordCredentialsTokenHandler(s server.Server, hdlr PasswordCredentialsTokenHandler, ...)
- func RegisterPersonalAccessTokenServiceHandler(s server.Server, hdlr PersonalAccessTokenServiceHandler, ...)
- type AcceptConsentRequest
- func (*AcceptConsentRequest) Descriptor() ([]byte, []int)
- func (m *AcceptConsentRequest) GetAccessToken() map[string]string
- func (m *AcceptConsentRequest) GetAudiences() []string
- func (m *AcceptConsentRequest) GetChallenge() string
- func (m *AcceptConsentRequest) GetIDToken() map[string]string
- func (m *AcceptConsentRequest) GetScopes() []string
- func (*AcceptConsentRequest) ProtoMessage()
- func (m *AcceptConsentRequest) Reset()
- func (m *AcceptConsentRequest) String() string
- func (this *AcceptConsentRequest) Validate() error
- type AcceptConsentResponse
- type AcceptLoginRequest
- func (*AcceptLoginRequest) Descriptor() ([]byte, []int)
- func (m *AcceptLoginRequest) GetChallenge() string
- func (m *AcceptLoginRequest) GetSubject() string
- func (m *AcceptLoginRequest) GetVerifier() string
- func (*AcceptLoginRequest) ProtoMessage()
- func (m *AcceptLoginRequest) Reset()
- func (m *AcceptLoginRequest) String() string
- func (this *AcceptLoginRequest) Validate() error
- type AcceptLoginResponse
- type AcceptLogoutRequest
- func (*AcceptLogoutRequest) Descriptor() ([]byte, []int)
- func (m *AcceptLogoutRequest) GetAccessToken() string
- func (m *AcceptLogoutRequest) GetChallenge() string
- func (m *AcceptLogoutRequest) GetRefreshToken() string
- func (*AcceptLogoutRequest) ProtoMessage()
- func (m *AcceptLogoutRequest) Reset()
- func (m *AcceptLogoutRequest) String() string
- func (this *AcceptLogoutRequest) Validate() error
- type AcceptLogoutResponse
- type AuthCodeExchanger
- type AuthCodeExchangerClient
- type AuthCodeExchangerHandler
- type AuthCodeProvider
- type AuthCodeProviderClient
- type AuthCodeProviderHandler
- type AuthTokenPruner
- type AuthTokenPrunerClient
- type AuthTokenPrunerHandler
- type AuthTokenRefresher
- type AuthTokenRefresherClient
- type AuthTokenRefresherHandler
- type AuthTokenRevoker
- type AuthTokenRevokerClient
- type AuthTokenRevokerHandler
- type AuthTokenVerifier
- type AuthTokenVerifierClient
- type AuthTokenVerifierHandler
- type ConsentProvider
- func (h *ConsentProvider) AcceptConsent(ctx context.Context, in *AcceptConsentRequest, out *AcceptConsentResponse) error
- func (h *ConsentProvider) CreateConsent(ctx context.Context, in *CreateConsentRequest, out *CreateConsentResponse) error
- func (h *ConsentProvider) GetConsent(ctx context.Context, in *GetConsentRequest, out *GetConsentResponse) error
- type ConsentProviderClient
- type ConsentProviderHandler
- type CreateAuthCodeRequest
- func (*CreateAuthCodeRequest) Descriptor() ([]byte, []int)
- func (m *CreateAuthCodeRequest) GetClientID() string
- func (m *CreateAuthCodeRequest) GetConsent() *ID
- func (m *CreateAuthCodeRequest) GetRedirectURI() string
- func (*CreateAuthCodeRequest) ProtoMessage()
- func (m *CreateAuthCodeRequest) Reset()
- func (m *CreateAuthCodeRequest) String() string
- func (this *CreateAuthCodeRequest) Validate() error
- type CreateAuthCodeResponse
- type CreateConsentRequest
- type CreateConsentResponse
- type CreateLoginRequest
- func (*CreateLoginRequest) Descriptor() ([]byte, []int)
- func (m *CreateLoginRequest) GetAudiences() []string
- func (m *CreateLoginRequest) GetClientID() string
- func (m *CreateLoginRequest) GetScopes() []string
- func (*CreateLoginRequest) ProtoMessage()
- func (m *CreateLoginRequest) Reset()
- func (m *CreateLoginRequest) String() string
- func (this *CreateLoginRequest) Validate() error
- type CreateLoginResponse
- type CreateLogoutRequest
- func (*CreateLogoutRequest) Descriptor() ([]byte, []int)
- func (m *CreateLogoutRequest) GetRequestURL() string
- func (m *CreateLogoutRequest) GetSessionID() string
- func (m *CreateLogoutRequest) GetSubject() string
- func (*CreateLogoutRequest) ProtoMessage()
- func (m *CreateLogoutRequest) Reset()
- func (m *CreateLogoutRequest) String() string
- func (this *CreateLogoutRequest) Validate() error
- type CreateLogoutResponse
- type ExchangeRequest
- func (*ExchangeRequest) Descriptor() ([]byte, []int)
- func (m *ExchangeRequest) GetCode() string
- func (m *ExchangeRequest) GetCodeVerifier() string
- func (*ExchangeRequest) ProtoMessage()
- func (m *ExchangeRequest) Reset()
- func (m *ExchangeRequest) String() string
- func (this *ExchangeRequest) Validate() error
- type ExchangeResponse
- func (*ExchangeResponse) Descriptor() ([]byte, []int)
- func (m *ExchangeResponse) GetAccessToken() string
- func (m *ExchangeResponse) GetExpiry() int64
- func (m *ExchangeResponse) GetIDToken() string
- func (m *ExchangeResponse) GetRefreshToken() string
- func (*ExchangeResponse) ProtoMessage()
- func (m *ExchangeResponse) Reset()
- func (m *ExchangeResponse) String() string
- func (this *ExchangeResponse) Validate() error
- type GetConsentRequest
- type GetConsentResponse
- func (*GetConsentResponse) Descriptor() ([]byte, []int)
- func (m *GetConsentResponse) GetChallenge() string
- func (m *GetConsentResponse) GetClientID() string
- func (m *GetConsentResponse) GetLoginSessionID() string
- func (m *GetConsentResponse) GetSubject() string
- func (m *GetConsentResponse) GetSubjectIdentifier() string
- func (*GetConsentResponse) ProtoMessage()
- func (m *GetConsentResponse) Reset()
- func (m *GetConsentResponse) String() string
- func (this *GetConsentResponse) Validate() error
- type GetLoginRequest
- type GetLoginResponse
- func (*GetLoginResponse) Descriptor() ([]byte, []int)
- func (m *GetLoginResponse) GetChallenge() string
- func (m *GetLoginResponse) GetClientID() string
- func (m *GetLoginResponse) GetRequestURL() string
- func (m *GetLoginResponse) GetRequestedAudience() []string
- func (m *GetLoginResponse) GetRequestedScope() []string
- func (m *GetLoginResponse) GetSessionID() string
- func (m *GetLoginResponse) GetSubject() string
- func (*GetLoginResponse) ProtoMessage()
- func (m *GetLoginResponse) Reset()
- func (m *GetLoginResponse) String() string
- func (this *GetLoginResponse) Validate() error
- type ID
- type LoginProvider
- func (h *LoginProvider) AcceptLogin(ctx context.Context, in *AcceptLoginRequest, out *AcceptLoginResponse) error
- func (h *LoginProvider) CreateLogin(ctx context.Context, in *CreateLoginRequest, out *CreateLoginResponse) error
- func (h *LoginProvider) GetLogin(ctx context.Context, in *GetLoginRequest, out *GetLoginResponse) error
- type LoginProviderClient
- type LoginProviderHandler
- type LogoutProvider
- type LogoutProviderClient
- type LogoutProviderHandler
- type PasswordCredentialsToken
- type PasswordCredentialsTokenClient
- type PasswordCredentialsTokenHandler
- type PasswordCredentialsTokenRequest
- func (*PasswordCredentialsTokenRequest) Descriptor() ([]byte, []int)
- func (m *PasswordCredentialsTokenRequest) GetPassword() string
- func (m *PasswordCredentialsTokenRequest) GetUsername() string
- func (*PasswordCredentialsTokenRequest) ProtoMessage()
- func (m *PasswordCredentialsTokenRequest) Reset()
- func (m *PasswordCredentialsTokenRequest) String() string
- func (this *PasswordCredentialsTokenRequest) Validate() error
- type PasswordCredentialsTokenResponse
- func (*PasswordCredentialsTokenResponse) Descriptor() ([]byte, []int)
- func (m *PasswordCredentialsTokenResponse) GetAccessToken() string
- func (m *PasswordCredentialsTokenResponse) GetExpiry() int64
- func (m *PasswordCredentialsTokenResponse) GetIDToken() string
- func (m *PasswordCredentialsTokenResponse) GetRefreshToken() string
- func (*PasswordCredentialsTokenResponse) ProtoMessage()
- func (m *PasswordCredentialsTokenResponse) Reset()
- func (m *PasswordCredentialsTokenResponse) String() string
- func (this *PasswordCredentialsTokenResponse) Validate() error
- type PatGenerateRequest
- func (*PatGenerateRequest) Descriptor() ([]byte, []int)
- func (m *PatGenerateRequest) GetAutoRefreshWindow() int32
- func (m *PatGenerateRequest) GetExpiresAt() int64
- func (m *PatGenerateRequest) GetIssuer() string
- func (m *PatGenerateRequest) GetLabel() string
- func (m *PatGenerateRequest) GetScopes() []string
- func (m *PatGenerateRequest) GetType() PatType
- func (m *PatGenerateRequest) GetUserLogin() string
- func (m *PatGenerateRequest) GetUserUuid() string
- func (*PatGenerateRequest) ProtoMessage()
- func (m *PatGenerateRequest) Reset()
- func (m *PatGenerateRequest) String() string
- func (this *PatGenerateRequest) Validate() error
- type PatGenerateResponse
- func (*PatGenerateResponse) Descriptor() ([]byte, []int)
- func (m *PatGenerateResponse) GetAccessToken() string
- func (m *PatGenerateResponse) GetTokenUuid() string
- func (*PatGenerateResponse) ProtoMessage()
- func (m *PatGenerateResponse) Reset()
- func (m *PatGenerateResponse) String() string
- func (this *PatGenerateResponse) Validate() error
- type PatListRequest
- func (*PatListRequest) Descriptor() ([]byte, []int)
- func (m *PatListRequest) GetByUserLogin() string
- func (m *PatListRequest) GetType() PatType
- func (*PatListRequest) ProtoMessage()
- func (m *PatListRequest) Reset()
- func (m *PatListRequest) String() string
- func (this *PatListRequest) Validate() error
- type PatListResponse
- type PatRevokeRequest
- type PatRevokeResponse
- type PatType
- type PersonalAccessToken
- func (*PersonalAccessToken) Descriptor() ([]byte, []int)
- func (m *PersonalAccessToken) GetAutoRefreshWindow() int32
- func (m *PersonalAccessToken) GetCreatedAt() int64
- func (m *PersonalAccessToken) GetCreatedBy() string
- func (m *PersonalAccessToken) GetExpiresAt() int64
- func (m *PersonalAccessToken) GetLabel() string
- func (m *PersonalAccessToken) GetScopes() []string
- func (m *PersonalAccessToken) GetType() PatType
- func (m *PersonalAccessToken) GetUpdatedAt() int64
- func (m *PersonalAccessToken) GetUserLogin() string
- func (m *PersonalAccessToken) GetUserUuid() string
- func (m *PersonalAccessToken) GetUuid() string
- func (*PersonalAccessToken) ProtoMessage()
- func (m *PersonalAccessToken) Reset()
- func (m *PersonalAccessToken) String() string
- func (this *PersonalAccessToken) Validate() error
- type PersonalAccessTokenService
- func (h *PersonalAccessTokenService) Generate(ctx context.Context, in *PatGenerateRequest, out *PatGenerateResponse) error
- func (h *PersonalAccessTokenService) List(ctx context.Context, in *PatListRequest, out *PatListResponse) error
- func (h *PersonalAccessTokenService) Revoke(ctx context.Context, in *PatRevokeRequest, out *PatRevokeResponse) error
- type PersonalAccessTokenServiceClient
- type PersonalAccessTokenServiceHandler
- type PruneTokensRequest
- type PruneTokensResponse
- func (*PruneTokensResponse) Descriptor() ([]byte, []int)
- func (m *PruneTokensResponse) GetCount() int32
- func (m *PruneTokensResponse) GetTokens() []string
- func (*PruneTokensResponse) ProtoMessage()
- func (m *PruneTokensResponse) Reset()
- func (m *PruneTokensResponse) String() string
- func (this *PruneTokensResponse) Validate() error
- type RefreshTokenRequest
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
- func (m *RefreshTokenResponse) GetAccessToken() string
- func (m *RefreshTokenResponse) GetExpiry() int64
- func (m *RefreshTokenResponse) GetIDToken() string
- func (m *RefreshTokenResponse) GetRefreshToken() string
- func (*RefreshTokenResponse) ProtoMessage()
- func (m *RefreshTokenResponse) Reset()
- func (m *RefreshTokenResponse) String() string
- func (this *RefreshTokenResponse) Validate() error
- type RevokeTokenRequest
- type RevokeTokenResponse
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (m *Token) GetAccessToken() string
- func (m *Token) GetExpiresAt() string
- func (m *Token) GetIDToken() string
- func (m *Token) GetRefreshToken() string
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) String() string
- func (this *Token) Validate() error
- type VerifyTokenRequest
- type VerifyTokenResponse
- func (*VerifyTokenResponse) Descriptor() ([]byte, []int)
- func (m *VerifyTokenResponse) GetData() []byte
- func (m *VerifyTokenResponse) GetSuccess() bool
- func (*VerifyTokenResponse) ProtoMessage()
- func (m *VerifyTokenResponse) Reset()
- func (m *VerifyTokenResponse) String() string
- func (this *VerifyTokenResponse) Validate() error
Constants ¶
This section is empty.
Variables ¶
View Source
var PatType_name = map[int32]string{
0: "ANY",
1: "PERSONAL",
2: "DOCUMENT",
}
View Source
var PatType_value = map[string]int32{
"ANY": 0,
"PERSONAL": 1,
"DOCUMENT": 2,
}
Functions ¶
func RegisterAuthCodeExchangerHandler ¶
func RegisterAuthCodeExchangerHandler(s server.Server, hdlr AuthCodeExchangerHandler, opts ...server.HandlerOption)
func RegisterAuthCodeProviderHandler ¶
func RegisterAuthCodeProviderHandler(s server.Server, hdlr AuthCodeProviderHandler, opts ...server.HandlerOption)
func RegisterAuthTokenPrunerHandler ¶
func RegisterAuthTokenPrunerHandler(s server.Server, hdlr AuthTokenPrunerHandler, opts ...server.HandlerOption)
func RegisterAuthTokenRefresherHandler ¶
func RegisterAuthTokenRefresherHandler(s server.Server, hdlr AuthTokenRefresherHandler, opts ...server.HandlerOption)
func RegisterAuthTokenRevokerHandler ¶
func RegisterAuthTokenRevokerHandler(s server.Server, hdlr AuthTokenRevokerHandler, opts ...server.HandlerOption)
func RegisterAuthTokenVerifierHandler ¶
func RegisterAuthTokenVerifierHandler(s server.Server, hdlr AuthTokenVerifierHandler, opts ...server.HandlerOption)
func RegisterConsentProviderHandler ¶
func RegisterConsentProviderHandler(s server.Server, hdlr ConsentProviderHandler, opts ...server.HandlerOption)
func RegisterLoginProviderHandler ¶
func RegisterLoginProviderHandler(s server.Server, hdlr LoginProviderHandler, opts ...server.HandlerOption)
func RegisterLogoutProviderHandler ¶
func RegisterLogoutProviderHandler(s server.Server, hdlr LogoutProviderHandler, opts ...server.HandlerOption)
func RegisterPasswordCredentialsTokenHandler ¶
func RegisterPasswordCredentialsTokenHandler(s server.Server, hdlr PasswordCredentialsTokenHandler, opts ...server.HandlerOption)
func RegisterPersonalAccessTokenServiceHandler ¶
func RegisterPersonalAccessTokenServiceHandler(s server.Server, hdlr PersonalAccessTokenServiceHandler, opts ...server.HandlerOption)
Types ¶
type AcceptConsentRequest ¶
type AcceptConsentRequest struct { Challenge string `protobuf:"bytes,1,opt,name=Challenge" json:"Challenge,omitempty"` Scopes []string `protobuf:"bytes,2,rep,name=Scopes" json:"Scopes,omitempty"` Audiences []string `protobuf:"bytes,3,rep,name=Audiences" json:"Audiences,omitempty"` AccessToken map[string]string `` /* 142-byte string literal not displayed */ IDToken map[string]string `` /* 134-byte string literal not displayed */ }
func (*AcceptConsentRequest) Descriptor ¶
func (*AcceptConsentRequest) Descriptor() ([]byte, []int)
func (*AcceptConsentRequest) GetAccessToken ¶
func (m *AcceptConsentRequest) GetAccessToken() map[string]string
func (*AcceptConsentRequest) GetAudiences ¶
func (m *AcceptConsentRequest) GetAudiences() []string
func (*AcceptConsentRequest) GetChallenge ¶
func (m *AcceptConsentRequest) GetChallenge() string
func (*AcceptConsentRequest) GetIDToken ¶
func (m *AcceptConsentRequest) GetIDToken() map[string]string
func (*AcceptConsentRequest) GetScopes ¶
func (m *AcceptConsentRequest) GetScopes() []string
func (*AcceptConsentRequest) ProtoMessage ¶
func (*AcceptConsentRequest) ProtoMessage()
func (*AcceptConsentRequest) Reset ¶
func (m *AcceptConsentRequest) Reset()
func (*AcceptConsentRequest) String ¶
func (m *AcceptConsentRequest) String() string
func (*AcceptConsentRequest) Validate ¶
func (this *AcceptConsentRequest) Validate() error
type AcceptConsentResponse ¶
type AcceptConsentResponse struct { }
func (*AcceptConsentResponse) Descriptor ¶
func (*AcceptConsentResponse) Descriptor() ([]byte, []int)
func (*AcceptConsentResponse) ProtoMessage ¶
func (*AcceptConsentResponse) ProtoMessage()
func (*AcceptConsentResponse) Reset ¶
func (m *AcceptConsentResponse) Reset()
func (*AcceptConsentResponse) String ¶
func (m *AcceptConsentResponse) String() string
func (*AcceptConsentResponse) Validate ¶
func (this *AcceptConsentResponse) Validate() error
type AcceptLoginRequest ¶
type AcceptLoginRequest struct { Challenge string `protobuf:"bytes,1,opt,name=Challenge" json:"Challenge,omitempty"` Verifier string `protobuf:"bytes,2,opt,name=Verifier" json:"Verifier,omitempty"` Subject string `protobuf:"bytes,3,opt,name=Subject" json:"Subject,omitempty"` }
func (*AcceptLoginRequest) Descriptor ¶
func (*AcceptLoginRequest) Descriptor() ([]byte, []int)
func (*AcceptLoginRequest) GetChallenge ¶
func (m *AcceptLoginRequest) GetChallenge() string
func (*AcceptLoginRequest) GetSubject ¶
func (m *AcceptLoginRequest) GetSubject() string
func (*AcceptLoginRequest) GetVerifier ¶
func (m *AcceptLoginRequest) GetVerifier() string
func (*AcceptLoginRequest) ProtoMessage ¶
func (*AcceptLoginRequest) ProtoMessage()
func (*AcceptLoginRequest) Reset ¶
func (m *AcceptLoginRequest) Reset()
func (*AcceptLoginRequest) String ¶
func (m *AcceptLoginRequest) String() string
func (*AcceptLoginRequest) Validate ¶
func (this *AcceptLoginRequest) Validate() error
type AcceptLoginResponse ¶
type AcceptLoginResponse struct { }
func (*AcceptLoginResponse) Descriptor ¶
func (*AcceptLoginResponse) Descriptor() ([]byte, []int)
func (*AcceptLoginResponse) ProtoMessage ¶
func (*AcceptLoginResponse) ProtoMessage()
func (*AcceptLoginResponse) Reset ¶
func (m *AcceptLoginResponse) Reset()
func (*AcceptLoginResponse) String ¶
func (m *AcceptLoginResponse) String() string
func (*AcceptLoginResponse) Validate ¶
func (this *AcceptLoginResponse) Validate() error
type AcceptLogoutRequest ¶
type AcceptLogoutRequest struct { Challenge string `protobuf:"bytes,1,opt,name=Challenge" json:"Challenge,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=AccessToken" json:"AccessToken,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken" json:"RefreshToken,omitempty"` }
func (*AcceptLogoutRequest) Descriptor ¶
func (*AcceptLogoutRequest) Descriptor() ([]byte, []int)
func (*AcceptLogoutRequest) GetAccessToken ¶
func (m *AcceptLogoutRequest) GetAccessToken() string
func (*AcceptLogoutRequest) GetChallenge ¶
func (m *AcceptLogoutRequest) GetChallenge() string
func (*AcceptLogoutRequest) GetRefreshToken ¶
func (m *AcceptLogoutRequest) GetRefreshToken() string
func (*AcceptLogoutRequest) ProtoMessage ¶
func (*AcceptLogoutRequest) ProtoMessage()
func (*AcceptLogoutRequest) Reset ¶
func (m *AcceptLogoutRequest) Reset()
func (*AcceptLogoutRequest) String ¶
func (m *AcceptLogoutRequest) String() string
func (*AcceptLogoutRequest) Validate ¶
func (this *AcceptLogoutRequest) Validate() error
type AcceptLogoutResponse ¶
type AcceptLogoutResponse struct { }
func (*AcceptLogoutResponse) Descriptor ¶
func (*AcceptLogoutResponse) Descriptor() ([]byte, []int)
func (*AcceptLogoutResponse) ProtoMessage ¶
func (*AcceptLogoutResponse) ProtoMessage()
func (*AcceptLogoutResponse) Reset ¶
func (m *AcceptLogoutResponse) Reset()
func (*AcceptLogoutResponse) String ¶
func (m *AcceptLogoutResponse) String() string
func (*AcceptLogoutResponse) Validate ¶
func (this *AcceptLogoutResponse) Validate() error
type AuthCodeExchanger ¶
type AuthCodeExchanger struct {
AuthCodeExchangerHandler
}
func (*AuthCodeExchanger) Exchange ¶
func (h *AuthCodeExchanger) Exchange(ctx context.Context, in *ExchangeRequest, out *ExchangeResponse) error
type AuthCodeExchangerClient ¶
type AuthCodeExchangerClient interface {
Exchange(ctx context.Context, in *ExchangeRequest, opts ...client.CallOption) (*ExchangeResponse, error)
}
func NewAuthCodeExchangerClient ¶
func NewAuthCodeExchangerClient(serviceName string, c client.Client) AuthCodeExchangerClient
type AuthCodeExchangerHandler ¶
type AuthCodeExchangerHandler interface {
Exchange(context.Context, *ExchangeRequest, *ExchangeResponse) error
}
type AuthCodeProvider ¶
type AuthCodeProvider struct {
AuthCodeProviderHandler
}
func (*AuthCodeProvider) CreateAuthCode ¶
func (h *AuthCodeProvider) CreateAuthCode(ctx context.Context, in *CreateAuthCodeRequest, out *CreateAuthCodeResponse) error
type AuthCodeProviderClient ¶
type AuthCodeProviderClient interface {
CreateAuthCode(ctx context.Context, in *CreateAuthCodeRequest, opts ...client.CallOption) (*CreateAuthCodeResponse, error)
}
func NewAuthCodeProviderClient ¶
func NewAuthCodeProviderClient(serviceName string, c client.Client) AuthCodeProviderClient
type AuthCodeProviderHandler ¶
type AuthCodeProviderHandler interface {
CreateAuthCode(context.Context, *CreateAuthCodeRequest, *CreateAuthCodeResponse) error
}
type AuthTokenPruner ¶
type AuthTokenPruner struct {
AuthTokenPrunerHandler
}
func (*AuthTokenPruner) PruneTokens ¶
func (h *AuthTokenPruner) PruneTokens(ctx context.Context, in *PruneTokensRequest, out *PruneTokensResponse) error
type AuthTokenPrunerClient ¶
type AuthTokenPrunerClient interface { // PruneTokens clear revoked tokens PruneTokens(ctx context.Context, in *PruneTokensRequest, opts ...client.CallOption) (*PruneTokensResponse, error) }
func NewAuthTokenPrunerClient ¶
func NewAuthTokenPrunerClient(serviceName string, c client.Client) AuthTokenPrunerClient
type AuthTokenPrunerHandler ¶
type AuthTokenPrunerHandler interface { // PruneTokens clear revoked tokens PruneTokens(context.Context, *PruneTokensRequest, *PruneTokensResponse) error }
type AuthTokenRefresher ¶
type AuthTokenRefresher struct {
AuthTokenRefresherHandler
}
func (*AuthTokenRefresher) Refresh ¶
func (h *AuthTokenRefresher) Refresh(ctx context.Context, in *RefreshTokenRequest, out *RefreshTokenResponse) error
type AuthTokenRefresherClient ¶
type AuthTokenRefresherClient interface {
Refresh(ctx context.Context, in *RefreshTokenRequest, opts ...client.CallOption) (*RefreshTokenResponse, error)
}
func NewAuthTokenRefresherClient ¶
func NewAuthTokenRefresherClient(serviceName string, c client.Client) AuthTokenRefresherClient
type AuthTokenRefresherHandler ¶
type AuthTokenRefresherHandler interface {
Refresh(context.Context, *RefreshTokenRequest, *RefreshTokenResponse) error
}
type AuthTokenRevoker ¶
type AuthTokenRevoker struct {
AuthTokenRevokerHandler
}
func (*AuthTokenRevoker) Revoke ¶
func (h *AuthTokenRevoker) Revoke(ctx context.Context, in *RevokeTokenRequest, out *RevokeTokenResponse) error
type AuthTokenRevokerClient ¶
type AuthTokenRevokerClient interface { // Revoker invalidates the current token and specifies if the invalidation is due to a refresh or a revokation Revoke(ctx context.Context, in *RevokeTokenRequest, opts ...client.CallOption) (*RevokeTokenResponse, error) }
func NewAuthTokenRevokerClient ¶
func NewAuthTokenRevokerClient(serviceName string, c client.Client) AuthTokenRevokerClient
type AuthTokenRevokerHandler ¶
type AuthTokenRevokerHandler interface { // Revoker invalidates the current token and specifies if the invalidation is due to a refresh or a revokation Revoke(context.Context, *RevokeTokenRequest, *RevokeTokenResponse) error }
type AuthTokenVerifier ¶
type AuthTokenVerifier struct {
AuthTokenVerifierHandler
}
func (*AuthTokenVerifier) Verify ¶
func (h *AuthTokenVerifier) Verify(ctx context.Context, in *VerifyTokenRequest, out *VerifyTokenResponse) error
type AuthTokenVerifierClient ¶
type AuthTokenVerifierClient interface { // Verifies a token and returns claims Verify(ctx context.Context, in *VerifyTokenRequest, opts ...client.CallOption) (*VerifyTokenResponse, error) }
func NewAuthTokenVerifierClient ¶
func NewAuthTokenVerifierClient(serviceName string, c client.Client) AuthTokenVerifierClient
type AuthTokenVerifierHandler ¶
type AuthTokenVerifierHandler interface { // Verifies a token and returns claims Verify(context.Context, *VerifyTokenRequest, *VerifyTokenResponse) error }
type ConsentProvider ¶
type ConsentProvider struct {
ConsentProviderHandler
}
func (*ConsentProvider) AcceptConsent ¶
func (h *ConsentProvider) AcceptConsent(ctx context.Context, in *AcceptConsentRequest, out *AcceptConsentResponse) error
func (*ConsentProvider) CreateConsent ¶
func (h *ConsentProvider) CreateConsent(ctx context.Context, in *CreateConsentRequest, out *CreateConsentResponse) error
func (*ConsentProvider) GetConsent ¶
func (h *ConsentProvider) GetConsent(ctx context.Context, in *GetConsentRequest, out *GetConsentResponse) error
type ConsentProviderClient ¶
type ConsentProviderClient interface { GetConsent(ctx context.Context, in *GetConsentRequest, opts ...client.CallOption) (*GetConsentResponse, error) CreateConsent(ctx context.Context, in *CreateConsentRequest, opts ...client.CallOption) (*CreateConsentResponse, error) AcceptConsent(ctx context.Context, in *AcceptConsentRequest, opts ...client.CallOption) (*AcceptConsentResponse, error) }
func NewConsentProviderClient ¶
func NewConsentProviderClient(serviceName string, c client.Client) ConsentProviderClient
type ConsentProviderHandler ¶
type ConsentProviderHandler interface { GetConsent(context.Context, *GetConsentRequest, *GetConsentResponse) error CreateConsent(context.Context, *CreateConsentRequest, *CreateConsentResponse) error AcceptConsent(context.Context, *AcceptConsentRequest, *AcceptConsentResponse) error }
type CreateAuthCodeRequest ¶
type CreateAuthCodeRequest struct { Consent *ID `protobuf:"bytes,1,opt,name=Consent" json:"Consent,omitempty"` ClientID string `protobuf:"bytes,2,opt,name=ClientID" json:"ClientID,omitempty"` RedirectURI string `protobuf:"bytes,3,opt,name=RedirectURI" json:"RedirectURI,omitempty"` }
func (*CreateAuthCodeRequest) Descriptor ¶
func (*CreateAuthCodeRequest) Descriptor() ([]byte, []int)
func (*CreateAuthCodeRequest) GetClientID ¶
func (m *CreateAuthCodeRequest) GetClientID() string
func (*CreateAuthCodeRequest) GetConsent ¶
func (m *CreateAuthCodeRequest) GetConsent() *ID
func (*CreateAuthCodeRequest) GetRedirectURI ¶
func (m *CreateAuthCodeRequest) GetRedirectURI() string
func (*CreateAuthCodeRequest) ProtoMessage ¶
func (*CreateAuthCodeRequest) ProtoMessage()
func (*CreateAuthCodeRequest) Reset ¶
func (m *CreateAuthCodeRequest) Reset()
func (*CreateAuthCodeRequest) String ¶
func (m *CreateAuthCodeRequest) String() string
func (*CreateAuthCodeRequest) Validate ¶
func (this *CreateAuthCodeRequest) Validate() error
type CreateAuthCodeResponse ¶
type CreateAuthCodeResponse struct {
Code string `protobuf:"bytes,1,opt,name=Code" json:"Code,omitempty"`
}
func (*CreateAuthCodeResponse) Descriptor ¶
func (*CreateAuthCodeResponse) Descriptor() ([]byte, []int)
func (*CreateAuthCodeResponse) GetCode ¶
func (m *CreateAuthCodeResponse) GetCode() string
func (*CreateAuthCodeResponse) ProtoMessage ¶
func (*CreateAuthCodeResponse) ProtoMessage()
func (*CreateAuthCodeResponse) Reset ¶
func (m *CreateAuthCodeResponse) Reset()
func (*CreateAuthCodeResponse) String ¶
func (m *CreateAuthCodeResponse) String() string
func (*CreateAuthCodeResponse) Validate ¶
func (this *CreateAuthCodeResponse) Validate() error
type CreateConsentRequest ¶
type CreateConsentRequest struct {
LoginChallenge string `protobuf:"bytes,1,opt,name=LoginChallenge" json:"LoginChallenge,omitempty"`
}
func (*CreateConsentRequest) Descriptor ¶
func (*CreateConsentRequest) Descriptor() ([]byte, []int)
func (*CreateConsentRequest) GetLoginChallenge ¶
func (m *CreateConsentRequest) GetLoginChallenge() string
func (*CreateConsentRequest) ProtoMessage ¶
func (*CreateConsentRequest) ProtoMessage()
func (*CreateConsentRequest) Reset ¶
func (m *CreateConsentRequest) Reset()
func (*CreateConsentRequest) String ¶
func (m *CreateConsentRequest) String() string
func (*CreateConsentRequest) Validate ¶
func (this *CreateConsentRequest) Validate() error
type CreateConsentResponse ¶
type CreateConsentResponse struct {
Consent *ID `protobuf:"bytes,1,opt,name=Consent" json:"Consent,omitempty"`
}
func (*CreateConsentResponse) Descriptor ¶
func (*CreateConsentResponse) Descriptor() ([]byte, []int)
func (*CreateConsentResponse) GetConsent ¶
func (m *CreateConsentResponse) GetConsent() *ID
func (*CreateConsentResponse) ProtoMessage ¶
func (*CreateConsentResponse) ProtoMessage()
func (*CreateConsentResponse) Reset ¶
func (m *CreateConsentResponse) Reset()
func (*CreateConsentResponse) String ¶
func (m *CreateConsentResponse) String() string
func (*CreateConsentResponse) Validate ¶
func (this *CreateConsentResponse) Validate() error
type CreateLoginRequest ¶
type CreateLoginRequest struct { ClientID string `protobuf:"bytes,1,opt,name=ClientID" json:"ClientID,omitempty"` Scopes []string `protobuf:"bytes,2,rep,name=Scopes" json:"Scopes,omitempty"` Audiences []string `protobuf:"bytes,3,rep,name=Audiences" json:"Audiences,omitempty"` }
func (*CreateLoginRequest) Descriptor ¶
func (*CreateLoginRequest) Descriptor() ([]byte, []int)
func (*CreateLoginRequest) GetAudiences ¶
func (m *CreateLoginRequest) GetAudiences() []string
func (*CreateLoginRequest) GetClientID ¶
func (m *CreateLoginRequest) GetClientID() string
func (*CreateLoginRequest) GetScopes ¶
func (m *CreateLoginRequest) GetScopes() []string
func (*CreateLoginRequest) ProtoMessage ¶
func (*CreateLoginRequest) ProtoMessage()
func (*CreateLoginRequest) Reset ¶
func (m *CreateLoginRequest) Reset()
func (*CreateLoginRequest) String ¶
func (m *CreateLoginRequest) String() string
func (*CreateLoginRequest) Validate ¶
func (this *CreateLoginRequest) Validate() error
type CreateLoginResponse ¶
type CreateLoginResponse struct {
Login *ID `protobuf:"bytes,1,opt,name=Login" json:"Login,omitempty"`
}
func (*CreateLoginResponse) Descriptor ¶
func (*CreateLoginResponse) Descriptor() ([]byte, []int)
func (*CreateLoginResponse) GetLogin ¶
func (m *CreateLoginResponse) GetLogin() *ID
func (*CreateLoginResponse) ProtoMessage ¶
func (*CreateLoginResponse) ProtoMessage()
func (*CreateLoginResponse) Reset ¶
func (m *CreateLoginResponse) Reset()
func (*CreateLoginResponse) String ¶
func (m *CreateLoginResponse) String() string
func (*CreateLoginResponse) Validate ¶
func (this *CreateLoginResponse) Validate() error
type CreateLogoutRequest ¶
type CreateLogoutRequest struct { RequestURL string `protobuf:"bytes,1,opt,name=RequestURL" json:"RequestURL,omitempty"` Subject string `protobuf:"bytes,2,opt,name=Subject" json:"Subject,omitempty"` SessionID string `protobuf:"bytes,3,opt,name=SessionID" json:"SessionID,omitempty"` }
func (*CreateLogoutRequest) Descriptor ¶
func (*CreateLogoutRequest) Descriptor() ([]byte, []int)
func (*CreateLogoutRequest) GetRequestURL ¶
func (m *CreateLogoutRequest) GetRequestURL() string
func (*CreateLogoutRequest) GetSessionID ¶
func (m *CreateLogoutRequest) GetSessionID() string
func (*CreateLogoutRequest) GetSubject ¶
func (m *CreateLogoutRequest) GetSubject() string
func (*CreateLogoutRequest) ProtoMessage ¶
func (*CreateLogoutRequest) ProtoMessage()
func (*CreateLogoutRequest) Reset ¶
func (m *CreateLogoutRequest) Reset()
func (*CreateLogoutRequest) String ¶
func (m *CreateLogoutRequest) String() string
func (*CreateLogoutRequest) Validate ¶
func (this *CreateLogoutRequest) Validate() error
type CreateLogoutResponse ¶
type CreateLogoutResponse struct {
Logout *ID `protobuf:"bytes,1,opt,name=Logout" json:"Logout,omitempty"`
}
func (*CreateLogoutResponse) Descriptor ¶
func (*CreateLogoutResponse) Descriptor() ([]byte, []int)
func (*CreateLogoutResponse) GetLogout ¶
func (m *CreateLogoutResponse) GetLogout() *ID
func (*CreateLogoutResponse) ProtoMessage ¶
func (*CreateLogoutResponse) ProtoMessage()
func (*CreateLogoutResponse) Reset ¶
func (m *CreateLogoutResponse) Reset()
func (*CreateLogoutResponse) String ¶
func (m *CreateLogoutResponse) String() string
func (*CreateLogoutResponse) Validate ¶
func (this *CreateLogoutResponse) Validate() error
type ExchangeRequest ¶
type ExchangeRequest struct { Code string `protobuf:"bytes,1,opt,name=Code,json=code" json:"Code,omitempty"` CodeVerifier string `protobuf:"bytes,2,opt,name=CodeVerifier,json=code_verifier" json:"CodeVerifier,omitempty"` }
func (*ExchangeRequest) Descriptor ¶
func (*ExchangeRequest) Descriptor() ([]byte, []int)
func (*ExchangeRequest) GetCode ¶
func (m *ExchangeRequest) GetCode() string
func (*ExchangeRequest) GetCodeVerifier ¶
func (m *ExchangeRequest) GetCodeVerifier() string
func (*ExchangeRequest) ProtoMessage ¶
func (*ExchangeRequest) ProtoMessage()
func (*ExchangeRequest) Reset ¶
func (m *ExchangeRequest) Reset()
func (*ExchangeRequest) String ¶
func (m *ExchangeRequest) String() string
func (*ExchangeRequest) Validate ¶
func (this *ExchangeRequest) Validate() error
type ExchangeResponse ¶
type ExchangeResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,json=access_token" json:"AccessToken,omitempty"` IDToken string `protobuf:"bytes,2,opt,name=IDToken,json=id_token" json:"IDToken,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken,json=refresh_token" json:"RefreshToken,omitempty"` Expiry int64 `protobuf:"varint,4,opt,name=Expiry,json=expiry" json:"Expiry,omitempty"` }
func (*ExchangeResponse) Descriptor ¶
func (*ExchangeResponse) Descriptor() ([]byte, []int)
func (*ExchangeResponse) GetAccessToken ¶
func (m *ExchangeResponse) GetAccessToken() string
func (*ExchangeResponse) GetExpiry ¶
func (m *ExchangeResponse) GetExpiry() int64
func (*ExchangeResponse) GetIDToken ¶
func (m *ExchangeResponse) GetIDToken() string
func (*ExchangeResponse) GetRefreshToken ¶
func (m *ExchangeResponse) GetRefreshToken() string
func (*ExchangeResponse) ProtoMessage ¶
func (*ExchangeResponse) ProtoMessage()
func (*ExchangeResponse) Reset ¶
func (m *ExchangeResponse) Reset()
func (*ExchangeResponse) String ¶
func (m *ExchangeResponse) String() string
func (*ExchangeResponse) Validate ¶
func (this *ExchangeResponse) Validate() error
type GetConsentRequest ¶
type GetConsentRequest struct {
Challenge string `protobuf:"bytes,1,opt,name=Challenge" json:"Challenge,omitempty"`
}
func (*GetConsentRequest) Descriptor ¶
func (*GetConsentRequest) Descriptor() ([]byte, []int)
func (*GetConsentRequest) GetChallenge ¶
func (m *GetConsentRequest) GetChallenge() string
func (*GetConsentRequest) ProtoMessage ¶
func (*GetConsentRequest) ProtoMessage()
func (*GetConsentRequest) Reset ¶
func (m *GetConsentRequest) Reset()
func (*GetConsentRequest) String ¶
func (m *GetConsentRequest) String() string
func (*GetConsentRequest) Validate ¶
func (this *GetConsentRequest) Validate() error
type GetConsentResponse ¶
type GetConsentResponse struct { Challenge string `protobuf:"bytes,1,opt,name=Challenge" json:"Challenge,omitempty"` LoginSessionID string `protobuf:"bytes,2,opt,name=LoginSessionID" json:"LoginSessionID,omitempty"` SubjectIdentifier string `protobuf:"bytes,3,opt,name=SubjectIdentifier" json:"SubjectIdentifier,omitempty"` Subject string `protobuf:"bytes,4,opt,name=Subject" json:"Subject,omitempty"` ClientID string `protobuf:"bytes,5,opt,name=ClientID" json:"ClientID,omitempty"` }
func (*GetConsentResponse) Descriptor ¶
func (*GetConsentResponse) Descriptor() ([]byte, []int)
func (*GetConsentResponse) GetChallenge ¶
func (m *GetConsentResponse) GetChallenge() string
func (*GetConsentResponse) GetClientID ¶
func (m *GetConsentResponse) GetClientID() string
func (*GetConsentResponse) GetLoginSessionID ¶
func (m *GetConsentResponse) GetLoginSessionID() string
func (*GetConsentResponse) GetSubject ¶
func (m *GetConsentResponse) GetSubject() string
func (*GetConsentResponse) GetSubjectIdentifier ¶
func (m *GetConsentResponse) GetSubjectIdentifier() string
func (*GetConsentResponse) ProtoMessage ¶
func (*GetConsentResponse) ProtoMessage()
func (*GetConsentResponse) Reset ¶
func (m *GetConsentResponse) Reset()
func (*GetConsentResponse) String ¶
func (m *GetConsentResponse) String() string
func (*GetConsentResponse) Validate ¶
func (this *GetConsentResponse) Validate() error
type GetLoginRequest ¶
type GetLoginRequest struct {
Challenge string `protobuf:"bytes,1,opt,name=Challenge" json:"Challenge,omitempty"`
}
func (*GetLoginRequest) Descriptor ¶
func (*GetLoginRequest) Descriptor() ([]byte, []int)
func (*GetLoginRequest) GetChallenge ¶
func (m *GetLoginRequest) GetChallenge() string
func (*GetLoginRequest) ProtoMessage ¶
func (*GetLoginRequest) ProtoMessage()
func (*GetLoginRequest) Reset ¶
func (m *GetLoginRequest) Reset()
func (*GetLoginRequest) String ¶
func (m *GetLoginRequest) String() string
func (*GetLoginRequest) Validate ¶
func (this *GetLoginRequest) Validate() error
type GetLoginResponse ¶
type GetLoginResponse struct { Challenge string `protobuf:"bytes,1,opt,name=Challenge" json:"Challenge,omitempty"` Subject string `protobuf:"bytes,2,opt,name=Subject" json:"Subject,omitempty"` SessionID string `protobuf:"bytes,3,opt,name=SessionID" json:"SessionID,omitempty"` RequestURL string `protobuf:"bytes,4,opt,name=RequestURL" json:"RequestURL,omitempty"` RequestedScope []string `protobuf:"bytes,5,rep,name=RequestedScope" json:"RequestedScope,omitempty"` RequestedAudience []string `protobuf:"bytes,6,rep,name=RequestedAudience" json:"RequestedAudience,omitempty"` ClientID string `protobuf:"bytes,7,opt,name=ClientID" json:"ClientID,omitempty"` }
func (*GetLoginResponse) Descriptor ¶
func (*GetLoginResponse) Descriptor() ([]byte, []int)
func (*GetLoginResponse) GetChallenge ¶
func (m *GetLoginResponse) GetChallenge() string
func (*GetLoginResponse) GetClientID ¶
func (m *GetLoginResponse) GetClientID() string
func (*GetLoginResponse) GetRequestURL ¶
func (m *GetLoginResponse) GetRequestURL() string
func (*GetLoginResponse) GetRequestedAudience ¶
func (m *GetLoginResponse) GetRequestedAudience() []string
func (*GetLoginResponse) GetRequestedScope ¶
func (m *GetLoginResponse) GetRequestedScope() []string
func (*GetLoginResponse) GetSessionID ¶
func (m *GetLoginResponse) GetSessionID() string
func (*GetLoginResponse) GetSubject ¶
func (m *GetLoginResponse) GetSubject() string
func (*GetLoginResponse) ProtoMessage ¶
func (*GetLoginResponse) ProtoMessage()
func (*GetLoginResponse) Reset ¶
func (m *GetLoginResponse) Reset()
func (*GetLoginResponse) String ¶
func (m *GetLoginResponse) String() string
func (*GetLoginResponse) Validate ¶
func (this *GetLoginResponse) Validate() error
type ID ¶
type ID struct { Challenge string `protobuf:"bytes,1,opt,name=Challenge" json:"Challenge,omitempty"` Verifier string `protobuf:"bytes,2,opt,name=Verifier" json:"Verifier,omitempty"` CSRF string `protobuf:"bytes,3,opt,name=CSRF" json:"CSRF,omitempty"` }
func (*ID) Descriptor ¶
func (*ID) GetChallenge ¶
func (*ID) GetVerifier ¶
func (*ID) ProtoMessage ¶
func (*ID) ProtoMessage()
type LoginProvider ¶
type LoginProvider struct {
LoginProviderHandler
}
func (*LoginProvider) AcceptLogin ¶
func (h *LoginProvider) AcceptLogin(ctx context.Context, in *AcceptLoginRequest, out *AcceptLoginResponse) error
func (*LoginProvider) CreateLogin ¶
func (h *LoginProvider) CreateLogin(ctx context.Context, in *CreateLoginRequest, out *CreateLoginResponse) error
func (*LoginProvider) GetLogin ¶
func (h *LoginProvider) GetLogin(ctx context.Context, in *GetLoginRequest, out *GetLoginResponse) error
type LoginProviderClient ¶
type LoginProviderClient interface { GetLogin(ctx context.Context, in *GetLoginRequest, opts ...client.CallOption) (*GetLoginResponse, error) CreateLogin(ctx context.Context, in *CreateLoginRequest, opts ...client.CallOption) (*CreateLoginResponse, error) AcceptLogin(ctx context.Context, in *AcceptLoginRequest, opts ...client.CallOption) (*AcceptLoginResponse, error) }
func NewLoginProviderClient ¶
func NewLoginProviderClient(serviceName string, c client.Client) LoginProviderClient
type LoginProviderHandler ¶
type LoginProviderHandler interface { GetLogin(context.Context, *GetLoginRequest, *GetLoginResponse) error CreateLogin(context.Context, *CreateLoginRequest, *CreateLoginResponse) error AcceptLogin(context.Context, *AcceptLoginRequest, *AcceptLoginResponse) error }
type LogoutProvider ¶
type LogoutProvider struct {
LogoutProviderHandler
}
func (*LogoutProvider) AcceptLogout ¶
func (h *LogoutProvider) AcceptLogout(ctx context.Context, in *AcceptLogoutRequest, out *AcceptLogoutResponse) error
func (*LogoutProvider) CreateLogout ¶
func (h *LogoutProvider) CreateLogout(ctx context.Context, in *CreateLogoutRequest, out *CreateLogoutResponse) error
type LogoutProviderClient ¶
type LogoutProviderClient interface { CreateLogout(ctx context.Context, in *CreateLogoutRequest, opts ...client.CallOption) (*CreateLogoutResponse, error) AcceptLogout(ctx context.Context, in *AcceptLogoutRequest, opts ...client.CallOption) (*AcceptLogoutResponse, error) }
func NewLogoutProviderClient ¶
func NewLogoutProviderClient(serviceName string, c client.Client) LogoutProviderClient
type LogoutProviderHandler ¶
type LogoutProviderHandler interface { CreateLogout(context.Context, *CreateLogoutRequest, *CreateLogoutResponse) error AcceptLogout(context.Context, *AcceptLogoutRequest, *AcceptLogoutResponse) error }
type PasswordCredentialsToken ¶
type PasswordCredentialsToken struct {
PasswordCredentialsTokenHandler
}
func (*PasswordCredentialsToken) PasswordCredentialsToken ¶
func (h *PasswordCredentialsToken) PasswordCredentialsToken(ctx context.Context, in *PasswordCredentialsTokenRequest, out *PasswordCredentialsTokenResponse) error
type PasswordCredentialsTokenClient ¶
type PasswordCredentialsTokenClient interface {
PasswordCredentialsToken(ctx context.Context, in *PasswordCredentialsTokenRequest, opts ...client.CallOption) (*PasswordCredentialsTokenResponse, error)
}
func NewPasswordCredentialsTokenClient ¶
func NewPasswordCredentialsTokenClient(serviceName string, c client.Client) PasswordCredentialsTokenClient
type PasswordCredentialsTokenHandler ¶
type PasswordCredentialsTokenHandler interface {
PasswordCredentialsToken(context.Context, *PasswordCredentialsTokenRequest, *PasswordCredentialsTokenResponse) error
}
type PasswordCredentialsTokenRequest ¶
type PasswordCredentialsTokenRequest struct { Username string `protobuf:"bytes,1,opt,name=Username,json=username" json:"Username,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,json=password" json:"Password,omitempty"` }
func (*PasswordCredentialsTokenRequest) Descriptor ¶
func (*PasswordCredentialsTokenRequest) Descriptor() ([]byte, []int)
func (*PasswordCredentialsTokenRequest) GetPassword ¶
func (m *PasswordCredentialsTokenRequest) GetPassword() string
func (*PasswordCredentialsTokenRequest) GetUsername ¶
func (m *PasswordCredentialsTokenRequest) GetUsername() string
func (*PasswordCredentialsTokenRequest) ProtoMessage ¶
func (*PasswordCredentialsTokenRequest) ProtoMessage()
func (*PasswordCredentialsTokenRequest) Reset ¶
func (m *PasswordCredentialsTokenRequest) Reset()
func (*PasswordCredentialsTokenRequest) String ¶
func (m *PasswordCredentialsTokenRequest) String() string
func (*PasswordCredentialsTokenRequest) Validate ¶
func (this *PasswordCredentialsTokenRequest) Validate() error
type PasswordCredentialsTokenResponse ¶
type PasswordCredentialsTokenResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,json=access_token" json:"AccessToken,omitempty"` IDToken string `protobuf:"bytes,2,opt,name=IDToken,json=id_token" json:"IDToken,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken,json=refresh_token" json:"RefreshToken,omitempty"` Expiry int64 `protobuf:"varint,4,opt,name=Expiry,json=expiry" json:"Expiry,omitempty"` }
func (*PasswordCredentialsTokenResponse) Descriptor ¶
func (*PasswordCredentialsTokenResponse) Descriptor() ([]byte, []int)
func (*PasswordCredentialsTokenResponse) GetAccessToken ¶
func (m *PasswordCredentialsTokenResponse) GetAccessToken() string
func (*PasswordCredentialsTokenResponse) GetExpiry ¶
func (m *PasswordCredentialsTokenResponse) GetExpiry() int64
func (*PasswordCredentialsTokenResponse) GetIDToken ¶
func (m *PasswordCredentialsTokenResponse) GetIDToken() string
func (*PasswordCredentialsTokenResponse) GetRefreshToken ¶
func (m *PasswordCredentialsTokenResponse) GetRefreshToken() string
func (*PasswordCredentialsTokenResponse) ProtoMessage ¶
func (*PasswordCredentialsTokenResponse) ProtoMessage()
func (*PasswordCredentialsTokenResponse) Reset ¶
func (m *PasswordCredentialsTokenResponse) Reset()
func (*PasswordCredentialsTokenResponse) String ¶
func (m *PasswordCredentialsTokenResponse) String() string
func (*PasswordCredentialsTokenResponse) Validate ¶
func (this *PasswordCredentialsTokenResponse) Validate() error
type PatGenerateRequest ¶
type PatGenerateRequest struct { Type PatType `protobuf:"varint,1,opt,name=Type,enum=auth.PatType" json:"Type,omitempty"` UserUuid string `protobuf:"bytes,2,opt,name=UserUuid" json:"UserUuid,omitempty"` UserLogin string `protobuf:"bytes,3,opt,name=UserLogin" json:"UserLogin,omitempty"` Label string `protobuf:"bytes,4,opt,name=Label" json:"Label,omitempty"` AutoRefreshWindow int32 `protobuf:"varint,5,opt,name=AutoRefreshWindow" json:"AutoRefreshWindow,omitempty"` ExpiresAt int64 `protobuf:"varint,6,opt,name=ExpiresAt" json:"ExpiresAt,omitempty"` Issuer string `protobuf:"bytes,7,opt,name=Issuer" json:"Issuer,omitempty"` Scopes []string `protobuf:"bytes,8,rep,name=Scopes" json:"Scopes,omitempty"` }
func (*PatGenerateRequest) Descriptor ¶
func (*PatGenerateRequest) Descriptor() ([]byte, []int)
func (*PatGenerateRequest) GetAutoRefreshWindow ¶
func (m *PatGenerateRequest) GetAutoRefreshWindow() int32
func (*PatGenerateRequest) GetExpiresAt ¶
func (m *PatGenerateRequest) GetExpiresAt() int64
func (*PatGenerateRequest) GetIssuer ¶
func (m *PatGenerateRequest) GetIssuer() string
func (*PatGenerateRequest) GetLabel ¶
func (m *PatGenerateRequest) GetLabel() string
func (*PatGenerateRequest) GetScopes ¶
func (m *PatGenerateRequest) GetScopes() []string
func (*PatGenerateRequest) GetType ¶
func (m *PatGenerateRequest) GetType() PatType
func (*PatGenerateRequest) GetUserLogin ¶
func (m *PatGenerateRequest) GetUserLogin() string
func (*PatGenerateRequest) GetUserUuid ¶
func (m *PatGenerateRequest) GetUserUuid() string
func (*PatGenerateRequest) ProtoMessage ¶
func (*PatGenerateRequest) ProtoMessage()
func (*PatGenerateRequest) Reset ¶
func (m *PatGenerateRequest) Reset()
func (*PatGenerateRequest) String ¶
func (m *PatGenerateRequest) String() string
func (*PatGenerateRequest) Validate ¶
func (this *PatGenerateRequest) Validate() error
type PatGenerateResponse ¶
type PatGenerateResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken" json:"AccessToken,omitempty"` TokenUuid string `protobuf:"bytes,2,opt,name=TokenUuid" json:"TokenUuid,omitempty"` }
func (*PatGenerateResponse) Descriptor ¶
func (*PatGenerateResponse) Descriptor() ([]byte, []int)
func (*PatGenerateResponse) GetAccessToken ¶
func (m *PatGenerateResponse) GetAccessToken() string
func (*PatGenerateResponse) GetTokenUuid ¶
func (m *PatGenerateResponse) GetTokenUuid() string
func (*PatGenerateResponse) ProtoMessage ¶
func (*PatGenerateResponse) ProtoMessage()
func (*PatGenerateResponse) Reset ¶
func (m *PatGenerateResponse) Reset()
func (*PatGenerateResponse) String ¶
func (m *PatGenerateResponse) String() string
func (*PatGenerateResponse) Validate ¶
func (this *PatGenerateResponse) Validate() error
type PatListRequest ¶
type PatListRequest struct { Type PatType `protobuf:"varint,1,opt,name=Type,enum=auth.PatType" json:"Type,omitempty"` ByUserLogin string `protobuf:"bytes,2,opt,name=ByUserLogin" json:"ByUserLogin,omitempty"` }
func (*PatListRequest) Descriptor ¶
func (*PatListRequest) Descriptor() ([]byte, []int)
func (*PatListRequest) GetByUserLogin ¶
func (m *PatListRequest) GetByUserLogin() string
func (*PatListRequest) GetType ¶
func (m *PatListRequest) GetType() PatType
func (*PatListRequest) ProtoMessage ¶
func (*PatListRequest) ProtoMessage()
func (*PatListRequest) Reset ¶
func (m *PatListRequest) Reset()
func (*PatListRequest) String ¶
func (m *PatListRequest) String() string
func (*PatListRequest) Validate ¶
func (this *PatListRequest) Validate() error
type PatListResponse ¶
type PatListResponse struct {
Tokens []*PersonalAccessToken `protobuf:"bytes,1,rep,name=Tokens" json:"Tokens,omitempty"`
}
func (*PatListResponse) Descriptor ¶
func (*PatListResponse) Descriptor() ([]byte, []int)
func (*PatListResponse) GetTokens ¶
func (m *PatListResponse) GetTokens() []*PersonalAccessToken
func (*PatListResponse) ProtoMessage ¶
func (*PatListResponse) ProtoMessage()
func (*PatListResponse) Reset ¶
func (m *PatListResponse) Reset()
func (*PatListResponse) String ¶
func (m *PatListResponse) String() string
func (*PatListResponse) Validate ¶
func (this *PatListResponse) Validate() error
type PatRevokeRequest ¶
type PatRevokeRequest struct {
Uuid string `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"`
}
func (*PatRevokeRequest) Descriptor ¶
func (*PatRevokeRequest) Descriptor() ([]byte, []int)
func (*PatRevokeRequest) GetUuid ¶
func (m *PatRevokeRequest) GetUuid() string
func (*PatRevokeRequest) ProtoMessage ¶
func (*PatRevokeRequest) ProtoMessage()
func (*PatRevokeRequest) Reset ¶
func (m *PatRevokeRequest) Reset()
func (*PatRevokeRequest) String ¶
func (m *PatRevokeRequest) String() string
func (*PatRevokeRequest) Validate ¶
func (this *PatRevokeRequest) Validate() error
type PatRevokeResponse ¶
type PatRevokeResponse struct {
Success bool `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
}
func (*PatRevokeResponse) Descriptor ¶
func (*PatRevokeResponse) Descriptor() ([]byte, []int)
func (*PatRevokeResponse) GetSuccess ¶
func (m *PatRevokeResponse) GetSuccess() bool
func (*PatRevokeResponse) ProtoMessage ¶
func (*PatRevokeResponse) ProtoMessage()
func (*PatRevokeResponse) Reset ¶
func (m *PatRevokeResponse) Reset()
func (*PatRevokeResponse) String ¶
func (m *PatRevokeResponse) String() string
func (*PatRevokeResponse) Validate ¶
func (this *PatRevokeResponse) Validate() error
type PersonalAccessToken ¶
type PersonalAccessToken struct { Uuid string `protobuf:"bytes,1,opt,name=Uuid" json:"Uuid,omitempty"` Type PatType `protobuf:"varint,2,opt,name=Type,enum=auth.PatType" json:"Type,omitempty"` Label string `protobuf:"bytes,3,opt,name=Label" json:"Label,omitempty"` UserUuid string `protobuf:"bytes,4,opt,name=UserUuid" json:"UserUuid,omitempty"` UserLogin string `protobuf:"bytes,5,opt,name=UserLogin" json:"UserLogin,omitempty"` Scopes []string `protobuf:"bytes,6,rep,name=Scopes" json:"Scopes,omitempty"` AutoRefreshWindow int32 `protobuf:"varint,7,opt,name=AutoRefreshWindow" json:"AutoRefreshWindow,omitempty"` ExpiresAt int64 `protobuf:"varint,8,opt,name=ExpiresAt" json:"ExpiresAt,omitempty"` CreatedBy string `protobuf:"bytes,9,opt,name=CreatedBy" json:"CreatedBy,omitempty"` CreatedAt int64 `protobuf:"varint,10,opt,name=CreatedAt" json:"CreatedAt,omitempty"` UpdatedAt int64 `protobuf:"varint,11,opt,name=UpdatedAt" json:"UpdatedAt,omitempty"` }
func (*PersonalAccessToken) Descriptor ¶
func (*PersonalAccessToken) Descriptor() ([]byte, []int)
func (*PersonalAccessToken) GetAutoRefreshWindow ¶
func (m *PersonalAccessToken) GetAutoRefreshWindow() int32
func (*PersonalAccessToken) GetCreatedAt ¶
func (m *PersonalAccessToken) GetCreatedAt() int64
func (*PersonalAccessToken) GetCreatedBy ¶
func (m *PersonalAccessToken) GetCreatedBy() string
func (*PersonalAccessToken) GetExpiresAt ¶
func (m *PersonalAccessToken) GetExpiresAt() int64
func (*PersonalAccessToken) GetLabel ¶
func (m *PersonalAccessToken) GetLabel() string
func (*PersonalAccessToken) GetScopes ¶
func (m *PersonalAccessToken) GetScopes() []string
func (*PersonalAccessToken) GetType ¶
func (m *PersonalAccessToken) GetType() PatType
func (*PersonalAccessToken) GetUpdatedAt ¶
func (m *PersonalAccessToken) GetUpdatedAt() int64
func (*PersonalAccessToken) GetUserLogin ¶
func (m *PersonalAccessToken) GetUserLogin() string
func (*PersonalAccessToken) GetUserUuid ¶
func (m *PersonalAccessToken) GetUserUuid() string
func (*PersonalAccessToken) GetUuid ¶
func (m *PersonalAccessToken) GetUuid() string
func (*PersonalAccessToken) ProtoMessage ¶
func (*PersonalAccessToken) ProtoMessage()
func (*PersonalAccessToken) Reset ¶
func (m *PersonalAccessToken) Reset()
func (*PersonalAccessToken) String ¶
func (m *PersonalAccessToken) String() string
func (*PersonalAccessToken) Validate ¶
func (this *PersonalAccessToken) Validate() error
type PersonalAccessTokenService ¶
type PersonalAccessTokenService struct {
PersonalAccessTokenServiceHandler
}
func (*PersonalAccessTokenService) Generate ¶
func (h *PersonalAccessTokenService) Generate(ctx context.Context, in *PatGenerateRequest, out *PatGenerateResponse) error
func (*PersonalAccessTokenService) List ¶
func (h *PersonalAccessTokenService) List(ctx context.Context, in *PatListRequest, out *PatListResponse) error
func (*PersonalAccessTokenService) Revoke ¶
func (h *PersonalAccessTokenService) Revoke(ctx context.Context, in *PatRevokeRequest, out *PatRevokeResponse) error
type PersonalAccessTokenServiceClient ¶
type PersonalAccessTokenServiceClient interface { Generate(ctx context.Context, in *PatGenerateRequest, opts ...client.CallOption) (*PatGenerateResponse, error) Revoke(ctx context.Context, in *PatRevokeRequest, opts ...client.CallOption) (*PatRevokeResponse, error) List(ctx context.Context, in *PatListRequest, opts ...client.CallOption) (*PatListResponse, error) }
func NewPersonalAccessTokenServiceClient ¶
func NewPersonalAccessTokenServiceClient(serviceName string, c client.Client) PersonalAccessTokenServiceClient
type PersonalAccessTokenServiceHandler ¶
type PersonalAccessTokenServiceHandler interface { Generate(context.Context, *PatGenerateRequest, *PatGenerateResponse) error Revoke(context.Context, *PatRevokeRequest, *PatRevokeResponse) error List(context.Context, *PatListRequest, *PatListResponse) error }
type PruneTokensRequest ¶
type PruneTokensRequest struct { }
func (*PruneTokensRequest) Descriptor ¶
func (*PruneTokensRequest) Descriptor() ([]byte, []int)
func (*PruneTokensRequest) ProtoMessage ¶
func (*PruneTokensRequest) ProtoMessage()
func (*PruneTokensRequest) Reset ¶
func (m *PruneTokensRequest) Reset()
func (*PruneTokensRequest) String ¶
func (m *PruneTokensRequest) String() string
func (*PruneTokensRequest) Validate ¶
func (this *PruneTokensRequest) Validate() error
type PruneTokensResponse ¶
type PruneTokensResponse struct { Tokens []string `protobuf:"bytes,1,rep,name=tokens" json:"tokens,omitempty"` Count int32 `protobuf:"varint,2,opt,name=Count" json:"Count,omitempty"` }
func (*PruneTokensResponse) Descriptor ¶
func (*PruneTokensResponse) Descriptor() ([]byte, []int)
func (*PruneTokensResponse) GetCount ¶
func (m *PruneTokensResponse) GetCount() int32
func (*PruneTokensResponse) GetTokens ¶
func (m *PruneTokensResponse) GetTokens() []string
func (*PruneTokensResponse) ProtoMessage ¶
func (*PruneTokensResponse) ProtoMessage()
func (*PruneTokensResponse) Reset ¶
func (m *PruneTokensResponse) Reset()
func (*PruneTokensResponse) String ¶
func (m *PruneTokensResponse) String() string
func (*PruneTokensResponse) Validate ¶
func (this *PruneTokensResponse) Validate() error
type RefreshTokenRequest ¶
type RefreshTokenRequest struct {
RefreshToken string `protobuf:"bytes,1,opt,name=RefreshToken" json:"RefreshToken,omitempty"`
}
func (*RefreshTokenRequest) Descriptor ¶
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
func (*RefreshTokenRequest) GetRefreshToken ¶
func (m *RefreshTokenRequest) GetRefreshToken() string
func (*RefreshTokenRequest) ProtoMessage ¶
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) Reset ¶
func (m *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) String ¶
func (m *RefreshTokenRequest) String() string
func (*RefreshTokenRequest) Validate ¶
func (this *RefreshTokenRequest) Validate() error
type RefreshTokenResponse ¶
type RefreshTokenResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,json=access_token" json:"AccessToken,omitempty"` IDToken string `protobuf:"bytes,2,opt,name=IDToken,json=id_token" json:"IDToken,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken,json=refresh_token" json:"RefreshToken,omitempty"` Expiry int64 `protobuf:"varint,4,opt,name=Expiry,json=expiry" json:"Expiry,omitempty"` }
func (*RefreshTokenResponse) Descriptor ¶
func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
func (*RefreshTokenResponse) GetAccessToken ¶
func (m *RefreshTokenResponse) GetAccessToken() string
func (*RefreshTokenResponse) GetExpiry ¶
func (m *RefreshTokenResponse) GetExpiry() int64
func (*RefreshTokenResponse) GetIDToken ¶
func (m *RefreshTokenResponse) GetIDToken() string
func (*RefreshTokenResponse) GetRefreshToken ¶
func (m *RefreshTokenResponse) GetRefreshToken() string
func (*RefreshTokenResponse) ProtoMessage ¶
func (*RefreshTokenResponse) ProtoMessage()
func (*RefreshTokenResponse) Reset ¶
func (m *RefreshTokenResponse) Reset()
func (*RefreshTokenResponse) String ¶
func (m *RefreshTokenResponse) String() string
func (*RefreshTokenResponse) Validate ¶
func (this *RefreshTokenResponse) Validate() error
type RevokeTokenRequest ¶
type RevokeTokenRequest struct {
Token *Token `protobuf:"bytes,1,opt,name=Token" json:"Token,omitempty"`
}
func (*RevokeTokenRequest) Descriptor ¶
func (*RevokeTokenRequest) Descriptor() ([]byte, []int)
func (*RevokeTokenRequest) GetToken ¶
func (m *RevokeTokenRequest) GetToken() *Token
func (*RevokeTokenRequest) ProtoMessage ¶
func (*RevokeTokenRequest) ProtoMessage()
func (*RevokeTokenRequest) Reset ¶
func (m *RevokeTokenRequest) Reset()
func (*RevokeTokenRequest) String ¶
func (m *RevokeTokenRequest) String() string
func (*RevokeTokenRequest) Validate ¶
func (this *RevokeTokenRequest) Validate() error
type RevokeTokenResponse ¶
type RevokeTokenResponse struct {
Success bool `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
}
func (*RevokeTokenResponse) Descriptor ¶
func (*RevokeTokenResponse) Descriptor() ([]byte, []int)
func (*RevokeTokenResponse) GetSuccess ¶
func (m *RevokeTokenResponse) GetSuccess() bool
func (*RevokeTokenResponse) ProtoMessage ¶
func (*RevokeTokenResponse) ProtoMessage()
func (*RevokeTokenResponse) Reset ¶
func (m *RevokeTokenResponse) Reset()
func (*RevokeTokenResponse) String ¶
func (m *RevokeTokenResponse) String() string
func (*RevokeTokenResponse) Validate ¶
func (this *RevokeTokenResponse) Validate() error
type Token ¶
type Token struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken" json:"AccessToken,omitempty"` IDToken string `protobuf:"bytes,2,opt,name=IDToken" json:"IDToken,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken" json:"RefreshToken,omitempty"` ExpiresAt string `protobuf:"bytes,4,opt,name=ExpiresAt" json:"ExpiresAt,omitempty"` }
func (*Token) Descriptor ¶
func (*Token) GetAccessToken ¶
func (*Token) GetExpiresAt ¶
func (*Token) GetIDToken ¶
func (*Token) GetRefreshToken ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
type VerifyTokenRequest ¶
type VerifyTokenRequest struct {
Token string `protobuf:"bytes,1,opt,name=Token" json:"Token,omitempty"`
}
func (*VerifyTokenRequest) Descriptor ¶
func (*VerifyTokenRequest) Descriptor() ([]byte, []int)
func (*VerifyTokenRequest) GetToken ¶
func (m *VerifyTokenRequest) GetToken() string
func (*VerifyTokenRequest) ProtoMessage ¶
func (*VerifyTokenRequest) ProtoMessage()
func (*VerifyTokenRequest) Reset ¶
func (m *VerifyTokenRequest) Reset()
func (*VerifyTokenRequest) String ¶
func (m *VerifyTokenRequest) String() string
func (*VerifyTokenRequest) Validate ¶
func (this *VerifyTokenRequest) Validate() error
type VerifyTokenResponse ¶
type VerifyTokenResponse struct { Success bool `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` }
func (*VerifyTokenResponse) Descriptor ¶
func (*VerifyTokenResponse) Descriptor() ([]byte, []int)
func (*VerifyTokenResponse) GetData ¶
func (m *VerifyTokenResponse) GetData() []byte
func (*VerifyTokenResponse) GetSuccess ¶
func (m *VerifyTokenResponse) GetSuccess() bool
func (*VerifyTokenResponse) ProtoMessage ¶
func (*VerifyTokenResponse) ProtoMessage()
func (*VerifyTokenResponse) Reset ¶
func (m *VerifyTokenResponse) Reset()
func (*VerifyTokenResponse) String ¶
func (m *VerifyTokenResponse) String() string
func (*VerifyTokenResponse) Validate ¶
func (this *VerifyTokenResponse) Validate() error
Click to show internal directories.
Click to hide internal directories.