auth

package
v2.2.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

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

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

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

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

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

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

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

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 (*ConsentProvider) CreateConsent

func (*ConsentProvider) GetConsent

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 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) Descriptor() ([]byte, []int)

func (*ID) GetCSRF

func (m *ID) GetCSRF() string

func (*ID) GetChallenge

func (m *ID) GetChallenge() string

func (*ID) GetVerifier

func (m *ID) GetVerifier() string

func (*ID) ProtoMessage

func (*ID) ProtoMessage()

func (*ID) Reset

func (m *ID) Reset()

func (*ID) String

func (m *ID) String() string

func (*ID) Validate

func (this *ID) Validate() error

type LoginProvider

type LoginProvider struct {
	LoginProviderHandler
}

func (*LoginProvider) AcceptLogin

func (*LoginProvider) CreateLogin

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 LogoutProvider

type LogoutProvider struct {
	LogoutProviderHandler
}

func (*LogoutProvider) AcceptLogout

func (*LogoutProvider) CreateLogout

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

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 (*PasswordCredentialsTokenRequest) 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 (*PasswordCredentialsTokenResponse) 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 PatType

type PatType int32
const (
	PatType_ANY      PatType = 0
	PatType_PERSONAL PatType = 1
	PatType_DOCUMENT PatType = 2
)

func (PatType) EnumDescriptor

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

func (PatType) String

func (x PatType) String() string

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 (*PersonalAccessTokenService) List

func (*PersonalAccessTokenService) Revoke

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 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) Descriptor() ([]byte, []int)

func (*Token) GetAccessToken

func (m *Token) GetAccessToken() string

func (*Token) GetExpiresAt

func (m *Token) GetExpiresAt() string

func (*Token) GetIDToken

func (m *Token) GetIDToken() string

func (*Token) GetRefreshToken

func (m *Token) GetRefreshToken() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) Reset

func (m *Token) Reset()

func (*Token) String

func (m *Token) String() string

func (*Token) Validate

func (this *Token) Validate() error

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

Jump to

Keyboard shortcuts

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