iampb

package
v0.0.0-...-3bd383c Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 29 Imported by: 0

README

protoc -I ./proto --grpc-gateway_out ./proto \
  --go_out=./proto --go_opt=paths=source_relative \
  --go-grpc_out=./proto --go-grpc_opt=paths=source_relative \
  --grpc-gateway_opt logtostderr=true \
  --grpc-gateway_opt paths=source_relative \
  --validate_out="lang=go:./proto" \
  --validate_opt paths=source_relative \
  proto/iam/iam.proto

Documentation

Overview

Package iampb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_iam_iam_proto protoreflect.FileDescriptor
View Source
var Iam_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "iampb.iam",
	HandlerType: (*IamServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "auth",
			Handler:    _Iam_Auth_Handler,
		},
		{
			MethodName: "VerifyToken",
			Handler:    _Iam_VerifyToken_Handler,
		},
		{
			MethodName: "CreateToken",
			Handler:    _Iam_CreateToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "iam/iam.proto",
}

Iam_ServiceDesc is the grpc.ServiceDesc for Iam service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterIamHandler

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

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

func RegisterIamHandlerClient

func RegisterIamHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IamClient) error

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

func RegisterIamHandlerFromEndpoint

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

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

func RegisterIamHandlerServer

func RegisterIamHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IamServer) error

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

func RegisterIamServer

func RegisterIamServer(s grpc.ServiceRegistrar, srv IamServer)

Types

type AuthRequest

type AuthRequest struct {
	AccessToken string  `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	Permissions []int64 `protobuf:"varint,2,rep,packed,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthRequest) Descriptor deprecated

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

Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.

func (*AuthRequest) GetAccessToken

func (x *AuthRequest) GetAccessToken() string

func (*AuthRequest) GetPermissions

func (x *AuthRequest) GetPermissions() []int64

func (*AuthRequest) ProtoMessage

func (*AuthRequest) ProtoMessage()

func (*AuthRequest) ProtoReflect

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

func (*AuthRequest) Reset

func (x *AuthRequest) Reset()

func (*AuthRequest) String

func (x *AuthRequest) String() string

func (*AuthRequest) Validate

func (m *AuthRequest) Validate() error

Validate checks the field values on AuthRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthRequest) ValidateAll

func (m *AuthRequest) ValidateAll() error

ValidateAll checks the field values on AuthRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthRequestMultiError, or nil if none found.

type AuthRequestMultiError

type AuthRequestMultiError []error

AuthRequestMultiError is an error wrapping multiple validation errors returned by AuthRequest.ValidateAll() if the designated constraints aren't met.

func (AuthRequestMultiError) AllErrors

func (m AuthRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthRequestMultiError) Error

func (m AuthRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AuthRequestValidationError

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

AuthRequestValidationError is the validation error returned by AuthRequest.Validate if the designated constraints aren't met.

func (AuthRequestValidationError) Cause

Cause function returns cause value.

func (AuthRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthRequestValidationError) ErrorName

func (e AuthRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthRequestValidationError) Field

Field function returns field value.

func (AuthRequestValidationError) Key

Key function returns key value.

func (AuthRequestValidationError) Reason

Reason function returns reason value.

type AuthResponse

type AuthResponse struct {
	StatusCode   int64  `protobuf:"varint,1,opt,name=statusCode,proto3" json:"statusCode,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	DomainId     int64  `protobuf:"varint,3,opt,name=domainId,proto3" json:"domainId,omitempty"`
	ProjectId    int64  `protobuf:"varint,4,opt,name=projectId,proto3" json:"projectId,omitempty"`
	GroupId      int64  `protobuf:"varint,5,opt,name=groupId,proto3" json:"groupId,omitempty"`
	AccountId    int64  `protobuf:"varint,6,opt,name=accountId,proto3" json:"accountId,omitempty"`
	AccountType  int64  `protobuf:"varint,7,opt,name=accountType,proto3" json:"accountType,omitempty"`
	IssuedAt     int64  `protobuf:"varint,8,opt,name=issuedAt,proto3" json:"issuedAt,omitempty"`
	ExpiresAt    int64  `protobuf:"varint,9,opt,name=expiresAt,proto3" json:"expiresAt,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthResponse) Descriptor deprecated

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

Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.

func (*AuthResponse) GetAccountId

func (x *AuthResponse) GetAccountId() int64

func (*AuthResponse) GetAccountType

func (x *AuthResponse) GetAccountType() int64

func (*AuthResponse) GetDomainId

func (x *AuthResponse) GetDomainId() int64

func (*AuthResponse) GetErrorMessage

func (x *AuthResponse) GetErrorMessage() string

func (*AuthResponse) GetExpiresAt

func (x *AuthResponse) GetExpiresAt() int64

func (*AuthResponse) GetGroupId

func (x *AuthResponse) GetGroupId() int64

func (*AuthResponse) GetIssuedAt

func (x *AuthResponse) GetIssuedAt() int64

func (*AuthResponse) GetProjectId

func (x *AuthResponse) GetProjectId() int64

func (*AuthResponse) GetStatusCode

func (x *AuthResponse) GetStatusCode() int64

func (*AuthResponse) ProtoMessage

func (*AuthResponse) ProtoMessage()

func (*AuthResponse) ProtoReflect

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

func (*AuthResponse) Reset

func (x *AuthResponse) Reset()

func (*AuthResponse) String

func (x *AuthResponse) String() string

func (*AuthResponse) Validate

func (m *AuthResponse) Validate() error

Validate checks the field values on AuthResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthResponse) ValidateAll

func (m *AuthResponse) ValidateAll() error

ValidateAll checks the field values on AuthResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthResponseMultiError, or nil if none found.

type AuthResponseMultiError

type AuthResponseMultiError []error

AuthResponseMultiError is an error wrapping multiple validation errors returned by AuthResponse.ValidateAll() if the designated constraints aren't met.

func (AuthResponseMultiError) AllErrors

func (m AuthResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthResponseMultiError) Error

func (m AuthResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AuthResponseValidationError

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

AuthResponseValidationError is the validation error returned by AuthResponse.Validate if the designated constraints aren't met.

func (AuthResponseValidationError) Cause

Cause function returns cause value.

func (AuthResponseValidationError) Error

Error satisfies the builtin error interface

func (AuthResponseValidationError) ErrorName

func (e AuthResponseValidationError) ErrorName() string

ErrorName returns error name.

func (AuthResponseValidationError) Field

Field function returns field value.

func (AuthResponseValidationError) Key

Key function returns key value.

func (AuthResponseValidationError) Reason

Reason function returns reason value.

type CreateTokenRequest

type CreateTokenRequest struct {
	DomainId    int64 `protobuf:"varint,3,opt,name=domainId,proto3" json:"domainId,omitempty"`
	ProjectId   int64 `protobuf:"varint,4,opt,name=projectId,proto3" json:"projectId,omitempty"`
	GroupId     int64 `protobuf:"varint,5,opt,name=groupId,proto3" json:"groupId,omitempty"`
	AccountId   int64 `protobuf:"varint,6,opt,name=accountId,proto3" json:"accountId,omitempty"`
	AccountType int64 `protobuf:"varint,7,opt,name=accountType,proto3" json:"accountType,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenRequest) Descriptor deprecated

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

Deprecated: Use CreateTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateTokenRequest) GetAccountId

func (x *CreateTokenRequest) GetAccountId() int64

func (*CreateTokenRequest) GetAccountType

func (x *CreateTokenRequest) GetAccountType() int64

func (*CreateTokenRequest) GetDomainId

func (x *CreateTokenRequest) GetDomainId() int64

func (*CreateTokenRequest) GetGroupId

func (x *CreateTokenRequest) GetGroupId() int64

func (*CreateTokenRequest) GetProjectId

func (x *CreateTokenRequest) GetProjectId() int64

func (*CreateTokenRequest) ProtoMessage

func (*CreateTokenRequest) ProtoMessage()

func (*CreateTokenRequest) ProtoReflect

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

func (*CreateTokenRequest) Reset

func (x *CreateTokenRequest) Reset()

func (*CreateTokenRequest) String

func (x *CreateTokenRequest) String() string

func (*CreateTokenRequest) Validate

func (m *CreateTokenRequest) Validate() error

Validate checks the field values on CreateTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateTokenRequest) ValidateAll

func (m *CreateTokenRequest) ValidateAll() error

ValidateAll checks the field values on CreateTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTokenRequestMultiError, or nil if none found.

type CreateTokenRequestMultiError

type CreateTokenRequestMultiError []error

CreateTokenRequestMultiError is an error wrapping multiple validation errors returned by CreateTokenRequest.ValidateAll() if the designated constraints aren't met.

func (CreateTokenRequestMultiError) AllErrors

func (m CreateTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateTokenRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateTokenRequestValidationError

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

CreateTokenRequestValidationError is the validation error returned by CreateTokenRequest.Validate if the designated constraints aren't met.

func (CreateTokenRequestValidationError) Cause

Cause function returns cause value.

func (CreateTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateTokenRequestValidationError) Field

Field function returns field value.

func (CreateTokenRequestValidationError) Key

Key function returns key value.

func (CreateTokenRequestValidationError) Reason

Reason function returns reason value.

type CreateTokenResponse

type CreateTokenResponse struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	RefreshToken string `protobuf:"bytes,2,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenResponse) Descriptor deprecated

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

Deprecated: Use CreateTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateTokenResponse) GetAccessToken

func (x *CreateTokenResponse) GetAccessToken() string

func (*CreateTokenResponse) GetRefreshToken

func (x *CreateTokenResponse) GetRefreshToken() string

func (*CreateTokenResponse) ProtoMessage

func (*CreateTokenResponse) ProtoMessage()

func (*CreateTokenResponse) ProtoReflect

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

func (*CreateTokenResponse) Reset

func (x *CreateTokenResponse) Reset()

func (*CreateTokenResponse) String

func (x *CreateTokenResponse) String() string

func (*CreateTokenResponse) Validate

func (m *CreateTokenResponse) Validate() error

Validate checks the field values on CreateTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateTokenResponse) ValidateAll

func (m *CreateTokenResponse) ValidateAll() error

ValidateAll checks the field values on CreateTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTokenResponseMultiError, or nil if none found.

type CreateTokenResponseMultiError

type CreateTokenResponseMultiError []error

CreateTokenResponseMultiError is an error wrapping multiple validation errors returned by CreateTokenResponse.ValidateAll() if the designated constraints aren't met.

func (CreateTokenResponseMultiError) AllErrors

func (m CreateTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateTokenResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateTokenResponseValidationError

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

CreateTokenResponseValidationError is the validation error returned by CreateTokenResponse.Validate if the designated constraints aren't met.

func (CreateTokenResponseValidationError) Cause

Cause function returns cause value.

func (CreateTokenResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateTokenResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateTokenResponseValidationError) Field

Field function returns field value.

func (CreateTokenResponseValidationError) Key

Key function returns key value.

func (CreateTokenResponseValidationError) Reason

Reason function returns reason value.

type IamClient

type IamClient interface {
	Auth(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error)
	VerifyToken(ctx context.Context, in *VerifyTokenRequest, opts ...grpc.CallOption) (*VerifyTokenResponse, error)
	CreateToken(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error)
}

IamClient is the client API for Iam service.

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

func NewIamClient

func NewIamClient(cc grpc.ClientConnInterface) IamClient

type IamServer

type IamServer interface {
	Auth(context.Context, *AuthRequest) (*AuthResponse, error)
	VerifyToken(context.Context, *VerifyTokenRequest) (*VerifyTokenResponse, error)
	CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error)
	// contains filtered or unexported methods
}

IamServer is the server API for Iam service. All implementations must embed UnimplementedIamServer for forward compatibility

type UnimplementedIamServer

type UnimplementedIamServer struct {
}

UnimplementedIamServer must be embedded to have forward compatible implementations.

func (UnimplementedIamServer) Auth

func (UnimplementedIamServer) CreateToken

func (UnimplementedIamServer) VerifyToken

type UnsafeIamServer

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

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

type VerifyTokenRequest

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

func (*VerifyTokenRequest) Descriptor deprecated

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

Deprecated: Use VerifyTokenRequest.ProtoReflect.Descriptor instead.

func (*VerifyTokenRequest) GetAccessToken

func (x *VerifyTokenRequest) GetAccessToken() string

func (*VerifyTokenRequest) ProtoMessage

func (*VerifyTokenRequest) ProtoMessage()

func (*VerifyTokenRequest) ProtoReflect

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

func (*VerifyTokenRequest) Reset

func (x *VerifyTokenRequest) Reset()

func (*VerifyTokenRequest) String

func (x *VerifyTokenRequest) String() string

func (*VerifyTokenRequest) Validate

func (m *VerifyTokenRequest) Validate() error

Validate checks the field values on VerifyTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VerifyTokenRequest) ValidateAll

func (m *VerifyTokenRequest) ValidateAll() error

ValidateAll checks the field values on VerifyTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerifyTokenRequestMultiError, or nil if none found.

type VerifyTokenRequestMultiError

type VerifyTokenRequestMultiError []error

VerifyTokenRequestMultiError is an error wrapping multiple validation errors returned by VerifyTokenRequest.ValidateAll() if the designated constraints aren't met.

func (VerifyTokenRequestMultiError) AllErrors

func (m VerifyTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifyTokenRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type VerifyTokenRequestValidationError

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

VerifyTokenRequestValidationError is the validation error returned by VerifyTokenRequest.Validate if the designated constraints aren't met.

func (VerifyTokenRequestValidationError) Cause

Cause function returns cause value.

func (VerifyTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (VerifyTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (VerifyTokenRequestValidationError) Field

Field function returns field value.

func (VerifyTokenRequestValidationError) Key

Key function returns key value.

func (VerifyTokenRequestValidationError) Reason

Reason function returns reason value.

type VerifyTokenResponse

type VerifyTokenResponse struct {
	StatusCode   int64  `protobuf:"varint,1,opt,name=statusCode,proto3" json:"statusCode,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	DomainId     int64  `protobuf:"varint,3,opt,name=domainId,proto3" json:"domainId,omitempty"`
	ProjectId    int64  `protobuf:"varint,4,opt,name=projectId,proto3" json:"projectId,omitempty"`
	GroupId      int64  `protobuf:"varint,5,opt,name=groupId,proto3" json:"groupId,omitempty"`
	AccountId    int64  `protobuf:"varint,6,opt,name=accountId,proto3" json:"accountId,omitempty"`
	AccountType  int64  `protobuf:"varint,7,opt,name=accountType,proto3" json:"accountType,omitempty"`
	IssuedAt     int64  `protobuf:"varint,8,opt,name=issuedAt,proto3" json:"issuedAt,omitempty"`
	ExpiresAt    int64  `protobuf:"varint,9,opt,name=expiresAt,proto3" json:"expiresAt,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTokenResponse) Descriptor deprecated

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

Deprecated: Use VerifyTokenResponse.ProtoReflect.Descriptor instead.

func (*VerifyTokenResponse) GetAccountId

func (x *VerifyTokenResponse) GetAccountId() int64

func (*VerifyTokenResponse) GetAccountType

func (x *VerifyTokenResponse) GetAccountType() int64

func (*VerifyTokenResponse) GetDomainId

func (x *VerifyTokenResponse) GetDomainId() int64

func (*VerifyTokenResponse) GetErrorMessage

func (x *VerifyTokenResponse) GetErrorMessage() string

func (*VerifyTokenResponse) GetExpiresAt

func (x *VerifyTokenResponse) GetExpiresAt() int64

func (*VerifyTokenResponse) GetGroupId

func (x *VerifyTokenResponse) GetGroupId() int64

func (*VerifyTokenResponse) GetIssuedAt

func (x *VerifyTokenResponse) GetIssuedAt() int64

func (*VerifyTokenResponse) GetProjectId

func (x *VerifyTokenResponse) GetProjectId() int64

func (*VerifyTokenResponse) GetStatusCode

func (x *VerifyTokenResponse) GetStatusCode() int64

func (*VerifyTokenResponse) ProtoMessage

func (*VerifyTokenResponse) ProtoMessage()

func (*VerifyTokenResponse) ProtoReflect

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

func (*VerifyTokenResponse) Reset

func (x *VerifyTokenResponse) Reset()

func (*VerifyTokenResponse) String

func (x *VerifyTokenResponse) String() string

func (*VerifyTokenResponse) Validate

func (m *VerifyTokenResponse) Validate() error

Validate checks the field values on VerifyTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VerifyTokenResponse) ValidateAll

func (m *VerifyTokenResponse) ValidateAll() error

ValidateAll checks the field values on VerifyTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerifyTokenResponseMultiError, or nil if none found.

type VerifyTokenResponseMultiError

type VerifyTokenResponseMultiError []error

VerifyTokenResponseMultiError is an error wrapping multiple validation errors returned by VerifyTokenResponse.ValidateAll() if the designated constraints aren't met.

func (VerifyTokenResponseMultiError) AllErrors

func (m VerifyTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifyTokenResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type VerifyTokenResponseValidationError

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

VerifyTokenResponseValidationError is the validation error returned by VerifyTokenResponse.Validate if the designated constraints aren't met.

func (VerifyTokenResponseValidationError) Cause

Cause function returns cause value.

func (VerifyTokenResponseValidationError) Error

Error satisfies the builtin error interface

func (VerifyTokenResponseValidationError) ErrorName

ErrorName returns error name.

func (VerifyTokenResponseValidationError) Field

Field function returns field value.

func (VerifyTokenResponseValidationError) Key

Key function returns key value.

func (VerifyTokenResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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