Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package auth is a generated protocol buffer package.
It is generated from these files:
auth.proto ldap.proto
It has these top-level messages:
Token MatchInvalidTokenRequest MatchInvalidTokenResponse RevokeTokenRequest RevokeTokenResponse PruneTokensRequest PruneTokensResponse VerifyTokenRequest VerifyTokenResponse LdapSearchFilter LdapMapping LdapMemberOfMapping LdapServerConfig
Package auth is a generated protocol buffer package.
It is generated from these files:
auth.proto ldap.proto
It has these top-level messages:
Token MatchInvalidTokenRequest MatchInvalidTokenResponse RevokeTokenRequest RevokeTokenResponse PruneTokensRequest PruneTokensResponse VerifyTokenRequest VerifyTokenResponse LdapSearchFilter LdapMapping LdapMemberOfMapping LdapServerConfig
Index ¶
- Variables
 - func RegisterAuthTokenRevokerHandler(s server.Server, hdlr AuthTokenRevokerHandler, opts ...server.HandlerOption)
 - func RegisterAuthTokenVerifierHandler(s server.Server, hdlr AuthTokenVerifierHandler, opts ...server.HandlerOption)
 - type AuthTokenRevoker
 - func (h *AuthTokenRevoker) MatchInvalid(ctx context.Context, in *MatchInvalidTokenRequest, ...) error
 - func (h *AuthTokenRevoker) PruneTokens(ctx context.Context, in *PruneTokensRequest, out *PruneTokensResponse) error
 - func (h *AuthTokenRevoker) Revoke(ctx context.Context, in *RevokeTokenRequest, out *RevokeTokenResponse) error
 
- type AuthTokenRevokerClient
 - type AuthTokenRevokerHandler
 - type AuthTokenVerifier
 - type AuthTokenVerifierClient
 - type AuthTokenVerifierHandler
 - type LdapMapping
 - func (*LdapMapping) Descriptor() ([]byte, []int)
 - func (m *LdapMapping) GetLeftAttribute() string
 - func (m *LdapMapping) GetRightAttribute() string
 - func (m *LdapMapping) GetRolePrefix() string
 - func (m *LdapMapping) GetRuleString() string
 - func (*LdapMapping) ProtoMessage()
 - func (m *LdapMapping) Reset()
 - func (m *LdapMapping) String() string
 - func (this *LdapMapping) Validate() error
 
- type LdapMemberOfMapping
 - func (*LdapMemberOfMapping) Descriptor() ([]byte, []int)
 - func (m *LdapMemberOfMapping) GetGroupFilter() *LdapSearchFilter
 - func (m *LdapMemberOfMapping) GetMapping() *LdapMapping
 - func (m *LdapMemberOfMapping) GetPydioMemberOfAttribute() string
 - func (m *LdapMemberOfMapping) GetPydioMemberOfValueFormat() string
 - func (m *LdapMemberOfMapping) GetRealMemberOf() bool
 - func (m *LdapMemberOfMapping) GetRealMemberOfAttribute() string
 - func (m *LdapMemberOfMapping) GetRealMemberOfValueFormat() string
 - func (m *LdapMemberOfMapping) GetSupportNestedGroup() bool
 - func (*LdapMemberOfMapping) ProtoMessage()
 - func (m *LdapMemberOfMapping) Reset()
 - func (m *LdapMemberOfMapping) String() string
 - func (this *LdapMemberOfMapping) Validate() error
 
- type LdapSearchFilter
 - func (*LdapSearchFilter) Descriptor() ([]byte, []int)
 - func (m *LdapSearchFilter) GetDNs() []string
 - func (m *LdapSearchFilter) GetDisplayAttribute() string
 - func (m *LdapSearchFilter) GetFilter() string
 - func (m *LdapSearchFilter) GetIDAttribute() string
 - func (m *LdapSearchFilter) GetScope() string
 - func (*LdapSearchFilter) ProtoMessage()
 - func (m *LdapSearchFilter) Reset()
 - func (m *LdapSearchFilter) String() string
 - func (this *LdapSearchFilter) Validate() error
 
- type LdapServerConfig
 - func (*LdapServerConfig) Descriptor() ([]byte, []int)
 - func (m *LdapServerConfig) GetBindDN() string
 - func (m *LdapServerConfig) GetBindPW() string
 - func (m *LdapServerConfig) GetConfigId() string
 - func (m *LdapServerConfig) GetConnection() string
 - func (m *LdapServerConfig) GetDomainName() string
 - func (m *LdapServerConfig) GetHost() string
 - func (m *LdapServerConfig) GetMappingRules() []*LdapMapping
 - func (m *LdapServerConfig) GetMemberOfMapping() *LdapMemberOfMapping
 - func (m *LdapServerConfig) GetPageSize() int32
 - func (m *LdapServerConfig) GetRolePrefix() string
 - func (m *LdapServerConfig) GetRootCA() string
 - func (m *LdapServerConfig) GetRootCAData() string
 - func (m *LdapServerConfig) GetSchedule() string
 - func (m *LdapServerConfig) GetSchedulerDetails() string
 - func (m *LdapServerConfig) GetSkipVerifyCertificate() bool
 - func (m *LdapServerConfig) GetUser() *LdapSearchFilter
 - func (*LdapServerConfig) ProtoMessage()
 - func (m *LdapServerConfig) Reset()
 - func (m *LdapServerConfig) String() string
 - func (this *LdapServerConfig) Validate() error
 
- type MatchInvalidTokenRequest
 - func (*MatchInvalidTokenRequest) Descriptor() ([]byte, []int)
 - func (m *MatchInvalidTokenRequest) GetToken() string
 - func (*MatchInvalidTokenRequest) ProtoMessage()
 - func (m *MatchInvalidTokenRequest) Reset()
 - func (m *MatchInvalidTokenRequest) String() string
 - func (this *MatchInvalidTokenRequest) Validate() error
 
- type MatchInvalidTokenResponse
 - func (*MatchInvalidTokenResponse) Descriptor() ([]byte, []int)
 - func (m *MatchInvalidTokenResponse) GetRevocationInfo() string
 - func (m *MatchInvalidTokenResponse) GetState() State
 - func (*MatchInvalidTokenResponse) ProtoMessage()
 - func (m *MatchInvalidTokenResponse) Reset()
 - func (m *MatchInvalidTokenResponse) String() string
 - func (this *MatchInvalidTokenResponse) Validate() error
 
- type PruneTokensRequest
 - type PruneTokensResponse
 - type RevokeTokenRequest
 - type RevokeTokenResponse
 - type State
 - type Token
 - 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 ¶
Functions ¶
func RegisterAuthTokenRevokerHandler ¶
func RegisterAuthTokenRevokerHandler(s server.Server, hdlr AuthTokenRevokerHandler, opts ...server.HandlerOption)
func RegisterAuthTokenVerifierHandler ¶
func RegisterAuthTokenVerifierHandler(s server.Server, hdlr AuthTokenVerifierHandler, opts ...server.HandlerOption)
Types ¶
type AuthTokenRevoker ¶
type AuthTokenRevoker struct {
	AuthTokenRevokerHandler
}
    func (*AuthTokenRevoker) MatchInvalid ¶
func (h *AuthTokenRevoker) MatchInvalid(ctx context.Context, in *MatchInvalidTokenRequest, out *MatchInvalidTokenResponse) error
func (*AuthTokenRevoker) PruneTokens ¶
func (h *AuthTokenRevoker) PruneTokens(ctx context.Context, in *PruneTokensRequest, out *PruneTokensResponse) error
func (*AuthTokenRevoker) Revoke ¶
func (h *AuthTokenRevoker) Revoke(ctx context.Context, in *RevokeTokenRequest, out *RevokeTokenResponse) error
type AuthTokenRevokerClient ¶
type AuthTokenRevokerClient interface {
	// Look for an invalid token entry in the store that match the current one
	MatchInvalid(ctx context.Context, in *MatchInvalidTokenRequest, opts ...client.CallOption) (*MatchInvalidTokenResponse, error)
	// 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)
	// PruneTokens clear revoked tokens
	PruneTokens(ctx context.Context, in *PruneTokensRequest, opts ...client.CallOption) (*PruneTokensResponse, error)
}
    func NewAuthTokenRevokerClient ¶
func NewAuthTokenRevokerClient(serviceName string, c client.Client) AuthTokenRevokerClient
type AuthTokenRevokerHandler ¶
type AuthTokenRevokerHandler interface {
	// Look for an invalid token entry in the store that match the current one
	MatchInvalid(context.Context, *MatchInvalidTokenRequest, *MatchInvalidTokenResponse) error
	// Revoker invalidates the current token and specifies if the invalidation is due to a refresh or a revokation
	Revoke(context.Context, *RevokeTokenRequest, *RevokeTokenResponse) error
	// PruneTokens clear revoked tokens
	PruneTokens(context.Context, *PruneTokensRequest, *PruneTokensResponse) 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 LdapMapping ¶
type LdapMapping struct {
	LeftAttribute  string `protobuf:"bytes,1,opt,name=LeftAttribute" json:"LeftAttribute,omitempty"`
	RightAttribute string `protobuf:"bytes,2,opt,name=RightAttribute" json:"RightAttribute,omitempty"`
	RuleString     string `protobuf:"bytes,3,opt,name=RuleString" json:"RuleString,omitempty"`
	RolePrefix     string `protobuf:"bytes,4,opt,name=RolePrefix" json:"RolePrefix,omitempty"`
}
    func (*LdapMapping) Descriptor ¶
func (*LdapMapping) Descriptor() ([]byte, []int)
func (*LdapMapping) GetLeftAttribute ¶
func (m *LdapMapping) GetLeftAttribute() string
func (*LdapMapping) GetRightAttribute ¶
func (m *LdapMapping) GetRightAttribute() string
func (*LdapMapping) GetRolePrefix ¶
func (m *LdapMapping) GetRolePrefix() string
func (*LdapMapping) GetRuleString ¶
func (m *LdapMapping) GetRuleString() string
func (*LdapMapping) ProtoMessage ¶
func (*LdapMapping) ProtoMessage()
func (*LdapMapping) Reset ¶
func (m *LdapMapping) Reset()
func (*LdapMapping) String ¶
func (m *LdapMapping) String() string
func (*LdapMapping) Validate ¶
func (this *LdapMapping) Validate() error
type LdapMemberOfMapping ¶
type LdapMemberOfMapping struct {
	Mapping                  *LdapMapping      `protobuf:"bytes,1,opt,name=Mapping" json:"Mapping,omitempty"`
	GroupFilter              *LdapSearchFilter `protobuf:"bytes,2,opt,name=GroupFilter" json:"GroupFilter,omitempty"`
	SupportNestedGroup       bool              `protobuf:"varint,3,opt,name=SupportNestedGroup" json:"SupportNestedGroup,omitempty"`
	RealMemberOf             bool              `protobuf:"varint,4,opt,name=RealMemberOf" json:"RealMemberOf,omitempty"`
	RealMemberOfAttribute    string            `protobuf:"bytes,5,opt,name=RealMemberOfAttribute" json:"RealMemberOfAttribute,omitempty"`
	RealMemberOfValueFormat  string            `protobuf:"bytes,6,opt,name=RealMemberOfValueFormat" json:"RealMemberOfValueFormat,omitempty"`
	PydioMemberOfAttribute   string            `protobuf:"bytes,7,opt,name=PydioMemberOfAttribute" json:"PydioMemberOfAttribute,omitempty"`
	PydioMemberOfValueFormat string            `protobuf:"bytes,8,opt,name=PydioMemberOfValueFormat" json:"PydioMemberOfValueFormat,omitempty"`
}
    func (*LdapMemberOfMapping) Descriptor ¶
func (*LdapMemberOfMapping) Descriptor() ([]byte, []int)
func (*LdapMemberOfMapping) GetGroupFilter ¶
func (m *LdapMemberOfMapping) GetGroupFilter() *LdapSearchFilter
func (*LdapMemberOfMapping) GetMapping ¶
func (m *LdapMemberOfMapping) GetMapping() *LdapMapping
func (*LdapMemberOfMapping) GetPydioMemberOfAttribute ¶
func (m *LdapMemberOfMapping) GetPydioMemberOfAttribute() string
func (*LdapMemberOfMapping) GetPydioMemberOfValueFormat ¶
func (m *LdapMemberOfMapping) GetPydioMemberOfValueFormat() string
func (*LdapMemberOfMapping) GetRealMemberOf ¶
func (m *LdapMemberOfMapping) GetRealMemberOf() bool
func (*LdapMemberOfMapping) GetRealMemberOfAttribute ¶
func (m *LdapMemberOfMapping) GetRealMemberOfAttribute() string
func (*LdapMemberOfMapping) GetRealMemberOfValueFormat ¶
func (m *LdapMemberOfMapping) GetRealMemberOfValueFormat() string
func (*LdapMemberOfMapping) GetSupportNestedGroup ¶
func (m *LdapMemberOfMapping) GetSupportNestedGroup() bool
func (*LdapMemberOfMapping) ProtoMessage ¶
func (*LdapMemberOfMapping) ProtoMessage()
func (*LdapMemberOfMapping) Reset ¶
func (m *LdapMemberOfMapping) Reset()
func (*LdapMemberOfMapping) String ¶
func (m *LdapMemberOfMapping) String() string
func (*LdapMemberOfMapping) Validate ¶
func (this *LdapMemberOfMapping) Validate() error
type LdapSearchFilter ¶
type LdapSearchFilter struct {
	DNs              []string `protobuf:"bytes,1,rep,name=DNs" json:"DNs,omitempty"`
	Filter           string   `protobuf:"bytes,2,opt,name=Filter" json:"Filter,omitempty"`
	IDAttribute      string   `protobuf:"bytes,3,opt,name=IDAttribute" json:"IDAttribute,omitempty"`
	DisplayAttribute string   `protobuf:"bytes,4,opt,name=DisplayAttribute" json:"DisplayAttribute,omitempty"`
	Scope            string   `protobuf:"bytes,5,opt,name=Scope" json:"Scope,omitempty"`
}
    func (*LdapSearchFilter) Descriptor ¶
func (*LdapSearchFilter) Descriptor() ([]byte, []int)
func (*LdapSearchFilter) GetDNs ¶
func (m *LdapSearchFilter) GetDNs() []string
func (*LdapSearchFilter) GetDisplayAttribute ¶
func (m *LdapSearchFilter) GetDisplayAttribute() string
func (*LdapSearchFilter) GetFilter ¶
func (m *LdapSearchFilter) GetFilter() string
func (*LdapSearchFilter) GetIDAttribute ¶
func (m *LdapSearchFilter) GetIDAttribute() string
func (*LdapSearchFilter) GetScope ¶
func (m *LdapSearchFilter) GetScope() string
func (*LdapSearchFilter) ProtoMessage ¶
func (*LdapSearchFilter) ProtoMessage()
func (*LdapSearchFilter) Reset ¶
func (m *LdapSearchFilter) Reset()
func (*LdapSearchFilter) String ¶
func (m *LdapSearchFilter) String() string
func (*LdapSearchFilter) Validate ¶
func (this *LdapSearchFilter) Validate() error
type LdapServerConfig ¶
type LdapServerConfig struct {
	ConfigId              string `protobuf:"bytes,1,opt,name=ConfigId" json:"ConfigId,omitempty"`
	DomainName            string `protobuf:"bytes,2,opt,name=DomainName" json:"DomainName,omitempty"`
	Host                  string `protobuf:"bytes,3,opt,name=Host" json:"Host,omitempty"`
	Connection            string `protobuf:"bytes,4,opt,name=Connection" json:"Connection,omitempty"`
	BindDN                string `protobuf:"bytes,5,opt,name=BindDN" json:"BindDN,omitempty"`
	BindPW                string `protobuf:"bytes,6,opt,name=BindPW" json:"BindPW,omitempty"`
	SkipVerifyCertificate bool   `protobuf:"varint,7,opt,name=SkipVerifyCertificate" json:"SkipVerifyCertificate,omitempty"`
	RootCA                string `protobuf:"bytes,8,opt,name=RootCA" json:"RootCA,omitempty"`
	// To be converted to []byte
	RootCAData       string               `protobuf:"bytes,9,opt,name=RootCAData" json:"RootCAData,omitempty"`
	PageSize         int32                `protobuf:"varint,10,opt,name=PageSize" json:"PageSize,omitempty"`
	User             *LdapSearchFilter    `protobuf:"bytes,11,opt,name=User" json:"User,omitempty"`
	MappingRules     []*LdapMapping       `protobuf:"bytes,12,rep,name=MappingRules" json:"MappingRules,omitempty"`
	MemberOfMapping  *LdapMemberOfMapping `protobuf:"bytes,13,opt,name=MemberOfMapping" json:"MemberOfMapping,omitempty"`
	RolePrefix       string               `protobuf:"bytes,14,opt,name=RolePrefix" json:"RolePrefix,omitempty"`
	Schedule         string               `protobuf:"bytes,15,opt,name=Schedule" json:"Schedule,omitempty"`
	SchedulerDetails string               `protobuf:"bytes,16,opt,name=SchedulerDetails" json:"SchedulerDetails,omitempty"`
}
    func (*LdapServerConfig) Descriptor ¶
func (*LdapServerConfig) Descriptor() ([]byte, []int)
func (*LdapServerConfig) GetBindDN ¶
func (m *LdapServerConfig) GetBindDN() string
func (*LdapServerConfig) GetBindPW ¶
func (m *LdapServerConfig) GetBindPW() string
func (*LdapServerConfig) GetConfigId ¶
func (m *LdapServerConfig) GetConfigId() string
func (*LdapServerConfig) GetConnection ¶
func (m *LdapServerConfig) GetConnection() string
func (*LdapServerConfig) GetDomainName ¶
func (m *LdapServerConfig) GetDomainName() string
func (*LdapServerConfig) GetHost ¶
func (m *LdapServerConfig) GetHost() string
func (*LdapServerConfig) GetMappingRules ¶
func (m *LdapServerConfig) GetMappingRules() []*LdapMapping
func (*LdapServerConfig) GetMemberOfMapping ¶
func (m *LdapServerConfig) GetMemberOfMapping() *LdapMemberOfMapping
func (*LdapServerConfig) GetPageSize ¶
func (m *LdapServerConfig) GetPageSize() int32
func (*LdapServerConfig) GetRolePrefix ¶
func (m *LdapServerConfig) GetRolePrefix() string
func (*LdapServerConfig) GetRootCA ¶
func (m *LdapServerConfig) GetRootCA() string
func (*LdapServerConfig) GetRootCAData ¶
func (m *LdapServerConfig) GetRootCAData() string
func (*LdapServerConfig) GetSchedule ¶
func (m *LdapServerConfig) GetSchedule() string
func (*LdapServerConfig) GetSchedulerDetails ¶
func (m *LdapServerConfig) GetSchedulerDetails() string
func (*LdapServerConfig) GetSkipVerifyCertificate ¶
func (m *LdapServerConfig) GetSkipVerifyCertificate() bool
func (*LdapServerConfig) GetUser ¶
func (m *LdapServerConfig) GetUser() *LdapSearchFilter
func (*LdapServerConfig) ProtoMessage ¶
func (*LdapServerConfig) ProtoMessage()
func (*LdapServerConfig) Reset ¶
func (m *LdapServerConfig) Reset()
func (*LdapServerConfig) String ¶
func (m *LdapServerConfig) String() string
func (*LdapServerConfig) Validate ¶
func (this *LdapServerConfig) Validate() error
type MatchInvalidTokenRequest ¶
type MatchInvalidTokenRequest struct {
	Token string `protobuf:"bytes,1,opt,name=Token" json:"Token,omitempty"`
}
    func (*MatchInvalidTokenRequest) Descriptor ¶
func (*MatchInvalidTokenRequest) Descriptor() ([]byte, []int)
func (*MatchInvalidTokenRequest) GetToken ¶
func (m *MatchInvalidTokenRequest) GetToken() string
func (*MatchInvalidTokenRequest) ProtoMessage ¶
func (*MatchInvalidTokenRequest) ProtoMessage()
func (*MatchInvalidTokenRequest) Reset ¶
func (m *MatchInvalidTokenRequest) Reset()
func (*MatchInvalidTokenRequest) String ¶
func (m *MatchInvalidTokenRequest) String() string
func (*MatchInvalidTokenRequest) Validate ¶
func (this *MatchInvalidTokenRequest) Validate() error
type MatchInvalidTokenResponse ¶
type MatchInvalidTokenResponse struct {
	State          State  `protobuf:"varint,1,opt,name=State,enum=auth.State" json:"State,omitempty"`
	RevocationInfo string `protobuf:"bytes,2,opt,name=RevocationInfo" json:"RevocationInfo,omitempty"`
}
    func (*MatchInvalidTokenResponse) Descriptor ¶
func (*MatchInvalidTokenResponse) Descriptor() ([]byte, []int)
func (*MatchInvalidTokenResponse) GetRevocationInfo ¶
func (m *MatchInvalidTokenResponse) GetRevocationInfo() string
func (*MatchInvalidTokenResponse) GetState ¶
func (m *MatchInvalidTokenResponse) GetState() State
func (*MatchInvalidTokenResponse) ProtoMessage ¶
func (*MatchInvalidTokenResponse) ProtoMessage()
func (*MatchInvalidTokenResponse) Reset ¶
func (m *MatchInvalidTokenResponse) Reset()
func (*MatchInvalidTokenResponse) String ¶
func (m *MatchInvalidTokenResponse) String() string
func (*MatchInvalidTokenResponse) Validate ¶
func (this *MatchInvalidTokenResponse) Validate() 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"`
}
    func (*PruneTokensResponse) Descriptor ¶
func (*PruneTokensResponse) Descriptor() ([]byte, []int)
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 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 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
      
      Source Files
      ¶
    
- auth.micro.go
 - auth.pb.go
 - auth.validator.pb.go
 - ldap.micro.go
 - ldap.pb.go
 - ldap.validator.pb.go
 
 Click to show internal directories. 
   Click to hide internal directories.