Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterClientAuthenticationServiceServer(s grpc.ServiceRegistrar, srv ClientAuthenticationServiceServer)
- func RegisterClientRegistrationServiceServer(s grpc.ServiceRegistrar, srv ClientRegistrationServiceServer)
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetClientAssertion() string
- func (x *AuthenticateRequest) GetClientAssertionType() string
- func (x *AuthenticateRequest) GetClientId() string
- func (x *AuthenticateRequest) GetClientSecret() string
- func (msg *AuthenticateRequest) MarshalJSON() ([]byte, error)
- func (m *AuthenticateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AuthenticateRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *AuthenticateRequest) MarshalVT() (dAtA []byte, err error)
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (m *AuthenticateRequest) SizeVT() (n int)
- func (x *AuthenticateRequest) String() string
- func (msg *AuthenticateRequest) UnmarshalJSON(b []byte) error
- func (m *AuthenticateRequest) UnmarshalVT(dAtA []byte) error
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateResponse) GetClient() *Client
- func (x *AuthenticateResponse) GetError() *v1.Error
- func (msg *AuthenticateResponse) MarshalJSON() ([]byte, error)
- func (m *AuthenticateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AuthenticateResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *AuthenticateResponse) MarshalVT() (dAtA []byte, err error)
- func (*AuthenticateResponse) ProtoMessage()
- func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateResponse) Reset()
- func (m *AuthenticateResponse) SizeVT() (n int)
- func (x *AuthenticateResponse) String() string
- func (msg *AuthenticateResponse) UnmarshalJSON(b []byte) error
- func (m *AuthenticateResponse) UnmarshalVT(dAtA []byte) error
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetApplicationType() string
- func (x *Client) GetClientId() string
- func (x *Client) GetClientName() string
- func (x *Client) GetClientSecret() []byte
- func (x *Client) GetClientType() ClientType
- func (x *Client) GetClientUri() string
- func (x *Client) GetContacts() []string
- func (x *Client) GetDpopBoundAccessTokens() bool
- func (x *Client) GetGrantTypes() []string
- func (x *Client) GetJwks() []byte
- func (x *Client) GetJwksUri() string
- func (x *Client) GetLogoUri() string
- func (x *Client) GetPolicyUri() string
- func (x *Client) GetRedirectUris() []string
- func (x *Client) GetRequirePushedAuthorizationRequests() bool
- func (x *Client) GetRequireSignedRequestObject() bool
- func (x *Client) GetResponseModes() []string
- func (x *Client) GetResponseTypes() []string
- func (x *Client) GetSectorIdentifier() string
- func (x *Client) GetSubjectType() string
- func (x *Client) GetTlsClientAuthSanDns() string
- func (x *Client) GetTlsClientAuthSanEmail() string
- func (x *Client) GetTlsClientAuthSanIp() string
- func (x *Client) GetTlsClientAuthSanUri() string
- func (x *Client) GetTlsClientAuthSubjectDn() string
- func (x *Client) GetTlsClientCertificateBoundAccessTokens() bool
- func (x *Client) GetTokenEndpointAuthMethod() string
- func (x *Client) GetTosUri() string
- func (msg *Client) MarshalJSON() ([]byte, error)
- func (m *Client) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Client) MarshalToVT(dAtA []byte) (int, error)
- func (m *Client) MarshalVT() (dAtA []byte, err error)
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (m *Client) SizeVT() (n int)
- func (x *Client) String() string
- func (msg *Client) UnmarshalJSON(b []byte) error
- func (m *Client) UnmarshalVT(dAtA []byte) error
- type ClientAuthenticationServiceClient
- type ClientAuthenticationServiceServer
- type ClientMeta
- func (*ClientMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ClientMeta) GetApplicationType() string
- func (x *ClientMeta) GetClientName() string
- func (x *ClientMeta) GetClientNameI18N() map[string]string
- func (x *ClientMeta) GetClientUri() string
- func (x *ClientMeta) GetContacts() []string
- func (x *ClientMeta) GetDpopBoundAccessTokens() bool
- func (x *ClientMeta) GetGrantTypes() []string
- func (x *ClientMeta) GetIntrospectionEncryptedResponseAlg() string
- func (x *ClientMeta) GetIntrospectionEncryptedResponseEnc() string
- func (x *ClientMeta) GetIntrospectionSignedResponseAlg() string
- func (x *ClientMeta) GetJwkUri() string
- func (x *ClientMeta) GetJwks() []byte
- func (x *ClientMeta) GetLogoUri() string
- func (x *ClientMeta) GetLogoUriI18N() map[string]string
- func (x *ClientMeta) GetPolicyUri() string
- func (x *ClientMeta) GetPolicyUriI18N() map[string]string
- func (x *ClientMeta) GetRedirectUris() []string
- func (x *ClientMeta) GetRequirePushedAuthorizationRequests() bool
- func (x *ClientMeta) GetRequireSignedRequestObject() bool
- func (x *ClientMeta) GetResponseModes() []string
- func (x *ClientMeta) GetResponseTypes() []string
- func (x *ClientMeta) GetScope() string
- func (x *ClientMeta) GetSectorIdentifier() string
- func (x *ClientMeta) GetSoftwareId() string
- func (x *ClientMeta) GetSoftwareStatement() string
- func (x *ClientMeta) GetSoftwareVersion() string
- func (x *ClientMeta) GetSubjectType() string
- func (x *ClientMeta) GetTlsClientAuthSanDns() string
- func (x *ClientMeta) GetTlsClientAuthSanEmail() string
- func (x *ClientMeta) GetTlsClientAuthSanIp() string
- func (x *ClientMeta) GetTlsClientAuthSanUri() string
- func (x *ClientMeta) GetTlsClientAuthSubjectDn() string
- func (x *ClientMeta) GetTlsClientCertificateBoundAccessTokens() bool
- func (x *ClientMeta) GetTokenEndpointAuthMethod() string
- func (x *ClientMeta) GetTosUri() string
- func (x *ClientMeta) GetTosUriI18N() map[string]string
- func (msg *ClientMeta) MarshalJSON() ([]byte, error)
- func (m *ClientMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ClientMeta) MarshalToVT(dAtA []byte) (int, error)
- func (m *ClientMeta) MarshalVT() (dAtA []byte, err error)
- func (*ClientMeta) ProtoMessage()
- func (x *ClientMeta) ProtoReflect() protoreflect.Message
- func (x *ClientMeta) Reset()
- func (m *ClientMeta) SizeVT() (n int)
- func (x *ClientMeta) String() string
- func (msg *ClientMeta) UnmarshalJSON(b []byte) error
- func (m *ClientMeta) UnmarshalVT(dAtA []byte) error
- type ClientProfile
- func (ClientProfile) Descriptor() protoreflect.EnumDescriptor
- func (x ClientProfile) Enum() *ClientProfile
- func (ClientProfile) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientProfile) Number() protoreflect.EnumNumber
- func (x ClientProfile) String() string
- func (ClientProfile) Type() protoreflect.EnumType
- type ClientRegistrationServiceClient
- type ClientRegistrationServiceServer
- type ClientType
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetMetadata() *ClientMeta
- func (msg *RegisterRequest) MarshalJSON() ([]byte, error)
- func (m *RegisterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RegisterRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RegisterRequest) MarshalVT() (dAtA []byte, err error)
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (m *RegisterRequest) SizeVT() (n int)
- func (x *RegisterRequest) String() string
- func (msg *RegisterRequest) UnmarshalJSON(b []byte) error
- func (m *RegisterRequest) UnmarshalVT(dAtA []byte) error
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResponse) GetClient() *Client
- func (x *RegisterResponse) GetError() *v1.Error
- func (msg *RegisterResponse) MarshalJSON() ([]byte, error)
- func (m *RegisterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RegisterResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RegisterResponse) MarshalVT() (dAtA []byte, err error)
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (m *RegisterResponse) SizeVT() (n int)
- func (x *RegisterResponse) String() string
- func (msg *RegisterResponse) UnmarshalJSON(b []byte) error
- func (m *RegisterResponse) UnmarshalVT(dAtA []byte) error
- type SoftwareStatement
- func (*SoftwareStatement) Descriptor() ([]byte, []int)deprecated
- func (x *SoftwareStatement) GetSoftwareId() string
- func (msg *SoftwareStatement) MarshalJSON() ([]byte, error)
- func (m *SoftwareStatement) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SoftwareStatement) MarshalToVT(dAtA []byte) (int, error)
- func (m *SoftwareStatement) MarshalVT() (dAtA []byte, err error)
- func (*SoftwareStatement) ProtoMessage()
- func (x *SoftwareStatement) ProtoReflect() protoreflect.Message
- func (x *SoftwareStatement) Reset()
- func (m *SoftwareStatement) SizeVT() (n int)
- func (x *SoftwareStatement) String() string
- func (msg *SoftwareStatement) UnmarshalJSON(b []byte) error
- func (m *SoftwareStatement) UnmarshalVT(dAtA []byte) error
- type UnimplementedClientAuthenticationServiceServer
- type UnimplementedClientRegistrationServiceServer
- type UnsafeClientAuthenticationServiceServer
- type UnsafeClientRegistrationServiceServer
Constants ¶
const (
ClientAuthenticationService_Authenticate_FullMethodName = "/oidc.client.v1.ClientAuthenticationService/Authenticate"
)
const (
ClientRegistrationService_Register_FullMethodName = "/oidc.client.v1.ClientRegistrationService/Register"
)
Variables ¶
var ( ClientType_name = map[int32]string{ 0: "CLIENT_TYPE_UNSPECIFIED", 1: "CLIENT_TYPE_CONFIDENTIAL", 2: "CLIENT_TYPE_CREDENTIALED", 3: "CLIENT_TYPE_PUBLIC", } ClientType_value = map[string]int32{ "CLIENT_TYPE_UNSPECIFIED": 0, "CLIENT_TYPE_CONFIDENTIAL": 1, "CLIENT_TYPE_CREDENTIALED": 2, "CLIENT_TYPE_PUBLIC": 3, } )
Enum value maps for ClientType.
var ( ClientProfile_name = map[int32]string{ 0: "CLIENT_PROFILE_UNSPECIFIED", 1: "CLIENT_PROFILE_WEB_APPLICATION", 2: "CLIENT_PROFILE_BROWSER_BASED_APPLICATION", 3: "CLIENT_PROFILE_NATIVE_APPLICATION", } ClientProfile_value = map[string]int32{ "CLIENT_PROFILE_UNSPECIFIED": 0, "CLIENT_PROFILE_WEB_APPLICATION": 1, "CLIENT_PROFILE_BROWSER_BASED_APPLICATION": 2, "CLIENT_PROFILE_NATIVE_APPLICATION": 3, } )
Enum value maps for ClientProfile.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var ClientAuthenticationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "oidc.client.v1.ClientAuthenticationService", HandlerType: (*ClientAuthenticationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Authenticate", Handler: _ClientAuthenticationService_Authenticate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "oidc/client/v1/client_api.proto", }
ClientAuthenticationService_ServiceDesc is the grpc.ServiceDesc for ClientAuthenticationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ClientRegistrationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "oidc.client.v1.ClientRegistrationService", HandlerType: (*ClientRegistrationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _ClientRegistrationService_Register_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "oidc/client/v1/client_api.proto", }
ClientRegistrationService_ServiceDesc is the grpc.ServiceDesc for ClientRegistrationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_oidc_client_v1_client_api_proto protoreflect.FileDescriptor
var File_oidc_client_v1_client_proto protoreflect.FileDescriptor
Functions ¶
func RegisterClientAuthenticationServiceServer ¶
func RegisterClientAuthenticationServiceServer(s grpc.ServiceRegistrar, srv ClientAuthenticationServiceServer)
func RegisterClientRegistrationServiceServer ¶
func RegisterClientRegistrationServiceServer(s grpc.ServiceRegistrar, srv ClientRegistrationServiceServer)
Types ¶
type AuthenticateRequest ¶
type AuthenticateRequest struct { ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"` ClientSecret *string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3,oneof" json:"client_secret,omitempty"` ClientAssertionType *string `` /* 126-byte string literal not displayed */ ClientAssertion *string `protobuf:"bytes,4,opt,name=client_assertion,json=clientAssertion,proto3,oneof" json:"client_assertion,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateRequest) Descriptor
deprecated
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetClientAssertion ¶
func (x *AuthenticateRequest) GetClientAssertion() string
func (*AuthenticateRequest) GetClientAssertionType ¶
func (x *AuthenticateRequest) GetClientAssertionType() string
func (*AuthenticateRequest) GetClientId ¶
func (x *AuthenticateRequest) GetClientId() string
func (*AuthenticateRequest) GetClientSecret ¶
func (x *AuthenticateRequest) GetClientSecret() string
func (*AuthenticateRequest) MarshalJSON ¶
func (msg *AuthenticateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AuthenticateRequest) MarshalToSizedBufferVT ¶
func (m *AuthenticateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthenticateRequest) MarshalToVT ¶
func (m *AuthenticateRequest) MarshalToVT(dAtA []byte) (int, error)
func (*AuthenticateRequest) MarshalVT ¶
func (m *AuthenticateRequest) MarshalVT() (dAtA []byte, err error)
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) SizeVT ¶
func (m *AuthenticateRequest) SizeVT() (n int)
func (*AuthenticateRequest) String ¶
func (x *AuthenticateRequest) String() string
func (*AuthenticateRequest) UnmarshalJSON ¶
func (msg *AuthenticateRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*AuthenticateRequest) UnmarshalVT ¶
func (m *AuthenticateRequest) UnmarshalVT(dAtA []byte) error
type AuthenticateResponse ¶
type AuthenticateResponse struct { Error *v1.Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Client *Client `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateResponse) Descriptor
deprecated
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateResponse) GetClient ¶
func (x *AuthenticateResponse) GetClient() *Client
func (*AuthenticateResponse) GetError ¶
func (x *AuthenticateResponse) GetError() *v1.Error
func (*AuthenticateResponse) MarshalJSON ¶
func (msg *AuthenticateResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AuthenticateResponse) MarshalToSizedBufferVT ¶
func (m *AuthenticateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthenticateResponse) MarshalToVT ¶
func (m *AuthenticateResponse) MarshalToVT(dAtA []byte) (int, error)
func (*AuthenticateResponse) MarshalVT ¶
func (m *AuthenticateResponse) MarshalVT() (dAtA []byte, err error)
func (*AuthenticateResponse) ProtoMessage ¶
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) ProtoReflect ¶
func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
func (*AuthenticateResponse) Reset ¶
func (x *AuthenticateResponse) Reset()
func (*AuthenticateResponse) SizeVT ¶
func (m *AuthenticateResponse) SizeVT() (n int)
func (*AuthenticateResponse) String ¶
func (x *AuthenticateResponse) String() string
func (*AuthenticateResponse) UnmarshalJSON ¶
func (msg *AuthenticateResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*AuthenticateResponse) UnmarshalVT ¶
func (m *AuthenticateResponse) UnmarshalVT(dAtA []byte) error
type Client ¶
type Client struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientType ClientType `protobuf:"varint,2,opt,name=client_type,json=clientType,proto3,enum=oidc.client.v1.ClientType" json:"client_type,omitempty"` RedirectUris []string `protobuf:"bytes,3,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"` ResponseTypes []string `protobuf:"bytes,4,rep,name=response_types,json=responseTypes,proto3" json:"response_types,omitempty"` ResponseModes []string `protobuf:"bytes,5,rep,name=response_modes,json=responseModes,proto3" json:"response_modes,omitempty"` GrantTypes []string `protobuf:"bytes,6,rep,name=grant_types,json=grantTypes,proto3" json:"grant_types,omitempty"` ApplicationType string `protobuf:"bytes,7,opt,name=application_type,json=applicationType,proto3" json:"application_type,omitempty"` Contacts []string `protobuf:"bytes,8,rep,name=contacts,proto3" json:"contacts,omitempty"` ClientName string `protobuf:"bytes,9,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"` LogoUri string `protobuf:"bytes,10,opt,name=logo_uri,json=logoUri,proto3" json:"logo_uri,omitempty"` ClientUri string `protobuf:"bytes,11,opt,name=client_uri,json=clientUri,proto3" json:"client_uri,omitempty"` PolicyUri string `protobuf:"bytes,12,opt,name=policy_uri,json=policyUri,proto3" json:"policy_uri,omitempty"` TosUri string `protobuf:"bytes,13,opt,name=tos_uri,json=tosUri,proto3" json:"tos_uri,omitempty"` JwksUri string `protobuf:"bytes,14,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"` Jwks []byte `protobuf:"bytes,15,opt,name=jwks,proto3" json:"jwks,omitempty"` ClientSecret []byte `protobuf:"bytes,16,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` SubjectType string `protobuf:"bytes,17,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` SectorIdentifier string `protobuf:"bytes,18,opt,name=sector_identifier,json=sectorIdentifier,proto3" json:"sector_identifier,omitempty"` TokenEndpointAuthMethod string `` /* 135-byte string literal not displayed */ TlsClientAuthSubjectDn string `` /* 134-byte string literal not displayed */ TlsClientAuthSanDns string `protobuf:"bytes,21,opt,name=tls_client_auth_san_dns,json=tlsClientAuthSanDns,proto3" json:"tls_client_auth_san_dns,omitempty"` TlsClientAuthSanUri string `protobuf:"bytes,22,opt,name=tls_client_auth_san_uri,json=tlsClientAuthSanUri,proto3" json:"tls_client_auth_san_uri,omitempty"` TlsClientAuthSanIp string `protobuf:"bytes,23,opt,name=tls_client_auth_san_ip,json=tlsClientAuthSanIp,proto3" json:"tls_client_auth_san_ip,omitempty"` TlsClientAuthSanEmail string `` /* 131-byte string literal not displayed */ TlsClientCertificateBoundAccessTokens bool `` /* 182-byte string literal not displayed */ RequirePushedAuthorizationRequests bool `` /* 169-byte string literal not displayed */ RequireSignedRequestObject bool `` /* 145-byte string literal not displayed */ // https://datatracker.ietf.org/doc/html/rfc9449#section-5.2 DpopBoundAccessTokens bool `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Client defines internal OIDC client properties.
func (*Client) Descriptor
deprecated
func (*Client) GetApplicationType ¶
func (*Client) GetClientId ¶
func (*Client) GetClientName ¶
func (*Client) GetClientSecret ¶
func (*Client) GetClientType ¶
func (x *Client) GetClientType() ClientType
func (*Client) GetClientUri ¶
func (*Client) GetContacts ¶
func (*Client) GetDpopBoundAccessTokens ¶
func (*Client) GetGrantTypes ¶
func (*Client) GetJwksUri ¶
func (*Client) GetLogoUri ¶
func (*Client) GetPolicyUri ¶
func (*Client) GetRedirectUris ¶
func (*Client) GetRequirePushedAuthorizationRequests ¶
func (*Client) GetRequireSignedRequestObject ¶
func (*Client) GetResponseModes ¶
func (*Client) GetResponseTypes ¶
func (*Client) GetSectorIdentifier ¶
func (*Client) GetSubjectType ¶
func (*Client) GetTlsClientAuthSanDns ¶
func (*Client) GetTlsClientAuthSanEmail ¶
func (*Client) GetTlsClientAuthSanIp ¶
func (*Client) GetTlsClientAuthSanUri ¶
func (*Client) GetTlsClientAuthSubjectDn ¶
func (*Client) GetTlsClientCertificateBoundAccessTokens ¶
func (*Client) GetTokenEndpointAuthMethod ¶
func (*Client) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Client) MarshalToSizedBufferVT ¶
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
func (*Client) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Client) UnmarshalVT ¶
type ClientAuthenticationServiceClient ¶
type ClientAuthenticationServiceClient interface {
Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
}
ClientAuthenticationServiceClient is the client API for ClientAuthenticationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewClientAuthenticationServiceClient ¶
func NewClientAuthenticationServiceClient(cc grpc.ClientConnInterface) ClientAuthenticationServiceClient
type ClientAuthenticationServiceServer ¶
type ClientAuthenticationServiceServer interface {
Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
}
ClientAuthenticationServiceServer is the server API for ClientAuthenticationService service. All implementations should embed UnimplementedClientAuthenticationServiceServer for forward compatibility
type ClientMeta ¶
type ClientMeta struct { ApplicationType *string `protobuf:"bytes,1,opt,name=application_type,json=applicationType,proto3,oneof" json:"application_type,omitempty"` RedirectUris []string `protobuf:"bytes,2,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"` TokenEndpointAuthMethod *string `` /* 140-byte string literal not displayed */ GrantTypes []string `protobuf:"bytes,4,rep,name=grant_types,json=grantTypes,proto3" json:"grant_types,omitempty"` ResponseTypes []string `protobuf:"bytes,5,rep,name=response_types,json=responseTypes,proto3" json:"response_types,omitempty"` ClientName *string `protobuf:"bytes,6,opt,name=client_name,json=clientName,proto3,oneof" json:"client_name,omitempty"` ClientNameI18N map[string]string `` /* 193-byte string literal not displayed */ ClientUri *string `protobuf:"bytes,8,opt,name=client_uri,json=clientUri,proto3,oneof" json:"client_uri,omitempty"` LogoUri *string `protobuf:"bytes,9,opt,name=logo_uri,json=logoUri,proto3,oneof" json:"logo_uri,omitempty"` LogoUriI18N map[string]string `` /* 185-byte string literal not displayed */ Scope *string `protobuf:"bytes,11,opt,name=scope,proto3,oneof" json:"scope,omitempty"` Contacts []string `protobuf:"bytes,12,rep,name=contacts,proto3" json:"contacts,omitempty"` TosUri *string `protobuf:"bytes,13,opt,name=tos_uri,json=tosUri,proto3,oneof" json:"tos_uri,omitempty"` TosUriI18N map[string]string `` /* 182-byte string literal not displayed */ PolicyUri *string `protobuf:"bytes,15,opt,name=policy_uri,json=policyUri,proto3,oneof" json:"policy_uri,omitempty"` PolicyUriI18N map[string]string `` /* 191-byte string literal not displayed */ JwkUri *string `protobuf:"bytes,17,opt,name=jwk_uri,json=jwkUri,proto3,oneof" json:"jwk_uri,omitempty"` Jwks []byte `protobuf:"bytes,18,opt,name=jwks,proto3,oneof" json:"jwks,omitempty"` SoftwareId *string `protobuf:"bytes,19,opt,name=software_id,json=softwareId,proto3,oneof" json:"software_id,omitempty"` SoftwareVersion *string `protobuf:"bytes,20,opt,name=software_version,json=softwareVersion,proto3,oneof" json:"software_version,omitempty"` SoftwareStatement *string `protobuf:"bytes,21,opt,name=software_statement,json=softwareStatement,proto3,oneof" json:"software_statement,omitempty"` SubjectType *string `protobuf:"bytes,22,opt,name=subject_type,json=subjectType,proto3,oneof" json:"subject_type,omitempty"` SectorIdentifier *string `protobuf:"bytes,23,opt,name=sector_identifier,json=sectorIdentifier,proto3,oneof" json:"sector_identifier,omitempty"` TlsClientAuthSubjectDn *string `` /* 140-byte string literal not displayed */ TlsClientAuthSanDns *string `` /* 131-byte string literal not displayed */ TlsClientAuthSanUri *string `` /* 131-byte string literal not displayed */ TlsClientAuthSanIp *string `` /* 128-byte string literal not displayed */ TlsClientAuthSanEmail *string `` /* 137-byte string literal not displayed */ TlsClientCertificateBoundAccessTokens *bool `` /* 188-byte string literal not displayed */ IntrospectionSignedResponseAlg *string `` /* 162-byte string literal not displayed */ IntrospectionEncryptedResponseAlg *string `` /* 171-byte string literal not displayed */ IntrospectionEncryptedResponseEnc *string `` /* 171-byte string literal not displayed */ ResponseModes []string `protobuf:"bytes,33,rep,name=response_modes,json=responseModes,proto3" json:"response_modes,omitempty"` RequirePushedAuthorizationRequests *bool `` /* 175-byte string literal not displayed */ RequireSignedRequestObject *bool `` /* 151-byte string literal not displayed */ // https://datatracker.ietf.org/doc/html/rfc9449#section-5.2 DpopBoundAccessTokens *bool `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ClientMeta) Descriptor
deprecated
func (*ClientMeta) Descriptor() ([]byte, []int)
Deprecated: Use ClientMeta.ProtoReflect.Descriptor instead.
func (*ClientMeta) GetApplicationType ¶
func (x *ClientMeta) GetApplicationType() string
func (*ClientMeta) GetClientName ¶
func (x *ClientMeta) GetClientName() string
func (*ClientMeta) GetClientNameI18N ¶
func (x *ClientMeta) GetClientNameI18N() map[string]string
func (*ClientMeta) GetClientUri ¶
func (x *ClientMeta) GetClientUri() string
func (*ClientMeta) GetContacts ¶
func (x *ClientMeta) GetContacts() []string
func (*ClientMeta) GetDpopBoundAccessTokens ¶
func (x *ClientMeta) GetDpopBoundAccessTokens() bool
func (*ClientMeta) GetGrantTypes ¶
func (x *ClientMeta) GetGrantTypes() []string
func (*ClientMeta) GetIntrospectionEncryptedResponseAlg ¶
func (x *ClientMeta) GetIntrospectionEncryptedResponseAlg() string
func (*ClientMeta) GetIntrospectionEncryptedResponseEnc ¶
func (x *ClientMeta) GetIntrospectionEncryptedResponseEnc() string
func (*ClientMeta) GetIntrospectionSignedResponseAlg ¶
func (x *ClientMeta) GetIntrospectionSignedResponseAlg() string
func (*ClientMeta) GetJwkUri ¶
func (x *ClientMeta) GetJwkUri() string
func (*ClientMeta) GetJwks ¶
func (x *ClientMeta) GetJwks() []byte
func (*ClientMeta) GetLogoUri ¶
func (x *ClientMeta) GetLogoUri() string
func (*ClientMeta) GetLogoUriI18N ¶
func (x *ClientMeta) GetLogoUriI18N() map[string]string
func (*ClientMeta) GetPolicyUri ¶
func (x *ClientMeta) GetPolicyUri() string
func (*ClientMeta) GetPolicyUriI18N ¶
func (x *ClientMeta) GetPolicyUriI18N() map[string]string
func (*ClientMeta) GetRedirectUris ¶
func (x *ClientMeta) GetRedirectUris() []string
func (*ClientMeta) GetRequirePushedAuthorizationRequests ¶
func (x *ClientMeta) GetRequirePushedAuthorizationRequests() bool
func (*ClientMeta) GetRequireSignedRequestObject ¶
func (x *ClientMeta) GetRequireSignedRequestObject() bool
func (*ClientMeta) GetResponseModes ¶
func (x *ClientMeta) GetResponseModes() []string
func (*ClientMeta) GetResponseTypes ¶
func (x *ClientMeta) GetResponseTypes() []string
func (*ClientMeta) GetScope ¶
func (x *ClientMeta) GetScope() string
func (*ClientMeta) GetSectorIdentifier ¶
func (x *ClientMeta) GetSectorIdentifier() string
func (*ClientMeta) GetSoftwareId ¶
func (x *ClientMeta) GetSoftwareId() string
func (*ClientMeta) GetSoftwareStatement ¶
func (x *ClientMeta) GetSoftwareStatement() string
func (*ClientMeta) GetSoftwareVersion ¶
func (x *ClientMeta) GetSoftwareVersion() string
func (*ClientMeta) GetSubjectType ¶
func (x *ClientMeta) GetSubjectType() string
func (*ClientMeta) GetTlsClientAuthSanDns ¶
func (x *ClientMeta) GetTlsClientAuthSanDns() string
func (*ClientMeta) GetTlsClientAuthSanEmail ¶
func (x *ClientMeta) GetTlsClientAuthSanEmail() string
func (*ClientMeta) GetTlsClientAuthSanIp ¶
func (x *ClientMeta) GetTlsClientAuthSanIp() string
func (*ClientMeta) GetTlsClientAuthSanUri ¶
func (x *ClientMeta) GetTlsClientAuthSanUri() string
func (*ClientMeta) GetTlsClientAuthSubjectDn ¶
func (x *ClientMeta) GetTlsClientAuthSubjectDn() string
func (*ClientMeta) GetTlsClientCertificateBoundAccessTokens ¶
func (x *ClientMeta) GetTlsClientCertificateBoundAccessTokens() bool
func (*ClientMeta) GetTokenEndpointAuthMethod ¶
func (x *ClientMeta) GetTokenEndpointAuthMethod() string
func (*ClientMeta) GetTosUri ¶
func (x *ClientMeta) GetTosUri() string
func (*ClientMeta) GetTosUriI18N ¶
func (x *ClientMeta) GetTosUriI18N() map[string]string
func (*ClientMeta) MarshalJSON ¶
func (msg *ClientMeta) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ClientMeta) MarshalToSizedBufferVT ¶
func (m *ClientMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ClientMeta) MarshalToVT ¶
func (m *ClientMeta) MarshalToVT(dAtA []byte) (int, error)
func (*ClientMeta) MarshalVT ¶
func (m *ClientMeta) MarshalVT() (dAtA []byte, err error)
func (*ClientMeta) ProtoMessage ¶
func (*ClientMeta) ProtoMessage()
func (*ClientMeta) ProtoReflect ¶
func (x *ClientMeta) ProtoReflect() protoreflect.Message
func (*ClientMeta) Reset ¶
func (x *ClientMeta) Reset()
func (*ClientMeta) SizeVT ¶
func (m *ClientMeta) SizeVT() (n int)
func (*ClientMeta) String ¶
func (x *ClientMeta) String() string
func (*ClientMeta) UnmarshalJSON ¶
func (msg *ClientMeta) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ClientMeta) UnmarshalVT ¶
func (m *ClientMeta) UnmarshalVT(dAtA []byte) error
type ClientProfile ¶
type ClientProfile int32
ClientProfile describes client profile enumeration. https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-2.1
const ( // Default value ClientProfile_CLIENT_PROFILE_UNSPECIFIED ClientProfile = 0 // A web application is a confidential client // running on a web server. Resource owners access the client via an // HTML user interface rendered in a user agent on the device used by // the resource owner. The client credentials as well as any access // tokens issued to the client are stored on the web server and are // not exposed to or accessible by the resource owner. ClientProfile_CLIENT_PROFILE_WEB_APPLICATION ClientProfile = 1 // A browser-based application is a public // client in which the client code is downloaded from a web server // and executes within a user agent (e.g., web browser) on the device // used by the resource owner. Protocol data and credentials are // easily accessible (and often visible) to the resource owner. // Since such applications reside within the user agent, they can // make seamless use of the user agent capabilities when requesting // authorization. ClientProfile_CLIENT_PROFILE_BROWSER_BASED_APPLICATION ClientProfile = 2 // A native application is a public client // installed and executed on the device used by the resource owner. // Protocol data and credentials are accessible to the resource // owner. It is assumed that any client authentication credentials // included in the application can be extracted. On the other hand, // dynamically issued credentials such as access tokens or refresh // tokens can receive an acceptable level of protection. At a // minimum, these credentials are protected from hostile servers with // which the application may interact. On some platforms, these // credentials might be protected from other applications residing on // the same device. ClientProfile_CLIENT_PROFILE_NATIVE_APPLICATION ClientProfile = 3 )
func (ClientProfile) Descriptor ¶
func (ClientProfile) Descriptor() protoreflect.EnumDescriptor
func (ClientProfile) Enum ¶
func (x ClientProfile) Enum() *ClientProfile
func (ClientProfile) EnumDescriptor
deprecated
func (ClientProfile) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientProfile.Descriptor instead.
func (ClientProfile) Number ¶
func (x ClientProfile) Number() protoreflect.EnumNumber
func (ClientProfile) String ¶
func (x ClientProfile) String() string
func (ClientProfile) Type ¶
func (ClientProfile) Type() protoreflect.EnumType
type ClientRegistrationServiceClient ¶
type ClientRegistrationServiceClient interface {
Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
}
ClientRegistrationServiceClient is the client API for ClientRegistrationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewClientRegistrationServiceClient ¶
func NewClientRegistrationServiceClient(cc grpc.ClientConnInterface) ClientRegistrationServiceClient
type ClientRegistrationServiceServer ¶
type ClientRegistrationServiceServer interface {
Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
}
ClientRegistrationServiceServer is the server API for ClientRegistrationService service. All implementations should embed UnimplementedClientRegistrationServiceServer for forward compatibility
type ClientType ¶
type ClientType int32
ClientType describes OIDC Client type enumeration. https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-2.1
const ( // Default value ClientType_CLIENT_TYPE_UNSPECIFIED ClientType = 0 // Clients that have credentials and have a prior relationship with the AS are // designated as "confidential clients". A client that has been registered at // the authorization server by a registered application developer, where the // client is expected to be run as server-side code, would be considered a // confidential client. ClientType_CLIENT_TYPE_CONFIDENTIAL ClientType = 1 // Clients that have credentials but no prior relationship with the AS are // designated as "credentialed clients". A client that runs on an end-user's // device, and uses Dynamic Client Registration ([RFC7591]) to establish // credentials the first time the app runs, would be considered a credentialed // client. ClientType_CLIENT_TYPE_CREDENTIALED ClientType = 2 // Clients without credentials are called "public clients". An application // deployed as a single-page app on a static web host would be considered a // public client. ClientType_CLIENT_TYPE_PUBLIC ClientType = 3 )
func (ClientType) Descriptor ¶
func (ClientType) Descriptor() protoreflect.EnumDescriptor
func (ClientType) Enum ¶
func (x ClientType) Enum() *ClientType
func (ClientType) EnumDescriptor
deprecated
func (ClientType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientType.Descriptor instead.
func (ClientType) Number ¶
func (x ClientType) Number() protoreflect.EnumNumber
func (ClientType) String ¶
func (x ClientType) String() string
func (ClientType) Type ¶
func (ClientType) Type() protoreflect.EnumType
type RegisterRequest ¶
type RegisterRequest struct { Metadata *ClientMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
https://tools.ietf.org/html/rfc7591#section-2
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetMetadata ¶
func (x *RegisterRequest) GetMetadata() *ClientMeta
func (*RegisterRequest) MarshalJSON ¶
func (msg *RegisterRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RegisterRequest) MarshalToSizedBufferVT ¶
func (m *RegisterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RegisterRequest) MarshalToVT ¶
func (m *RegisterRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RegisterRequest) MarshalVT ¶
func (m *RegisterRequest) MarshalVT() (dAtA []byte, err error)
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) SizeVT ¶
func (m *RegisterRequest) SizeVT() (n int)
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
func (*RegisterRequest) UnmarshalJSON ¶
func (msg *RegisterRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RegisterRequest) UnmarshalVT ¶
func (m *RegisterRequest) UnmarshalVT(dAtA []byte) error
type RegisterResponse ¶
type RegisterResponse struct { Error *v1.Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Client *Client `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetClient ¶
func (x *RegisterResponse) GetClient() *Client
func (*RegisterResponse) GetError ¶
func (x *RegisterResponse) GetError() *v1.Error
func (*RegisterResponse) MarshalJSON ¶
func (msg *RegisterResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RegisterResponse) MarshalToSizedBufferVT ¶
func (m *RegisterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RegisterResponse) MarshalToVT ¶
func (m *RegisterResponse) MarshalToVT(dAtA []byte) (int, error)
func (*RegisterResponse) MarshalVT ¶
func (m *RegisterResponse) MarshalVT() (dAtA []byte, err error)
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) SizeVT ¶
func (m *RegisterResponse) SizeVT() (n int)
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
func (*RegisterResponse) UnmarshalJSON ¶
func (msg *RegisterResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RegisterResponse) UnmarshalVT ¶
func (m *RegisterResponse) UnmarshalVT(dAtA []byte) error
type SoftwareStatement ¶
type SoftwareStatement struct { SoftwareId string `protobuf:"bytes,1,opt,name=software_id,json=softwareId,proto3" json:"software_id,omitempty"` // contains filtered or unexported fields }
func (*SoftwareStatement) Descriptor
deprecated
func (*SoftwareStatement) Descriptor() ([]byte, []int)
Deprecated: Use SoftwareStatement.ProtoReflect.Descriptor instead.
func (*SoftwareStatement) GetSoftwareId ¶
func (x *SoftwareStatement) GetSoftwareId() string
func (*SoftwareStatement) MarshalJSON ¶
func (msg *SoftwareStatement) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SoftwareStatement) MarshalToSizedBufferVT ¶
func (m *SoftwareStatement) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SoftwareStatement) MarshalToVT ¶
func (m *SoftwareStatement) MarshalToVT(dAtA []byte) (int, error)
func (*SoftwareStatement) MarshalVT ¶
func (m *SoftwareStatement) MarshalVT() (dAtA []byte, err error)
func (*SoftwareStatement) ProtoMessage ¶
func (*SoftwareStatement) ProtoMessage()
func (*SoftwareStatement) ProtoReflect ¶
func (x *SoftwareStatement) ProtoReflect() protoreflect.Message
func (*SoftwareStatement) Reset ¶
func (x *SoftwareStatement) Reset()
func (*SoftwareStatement) SizeVT ¶
func (m *SoftwareStatement) SizeVT() (n int)
func (*SoftwareStatement) String ¶
func (x *SoftwareStatement) String() string
func (*SoftwareStatement) UnmarshalJSON ¶
func (msg *SoftwareStatement) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SoftwareStatement) UnmarshalVT ¶
func (m *SoftwareStatement) UnmarshalVT(dAtA []byte) error
type UnimplementedClientAuthenticationServiceServer ¶
type UnimplementedClientAuthenticationServiceServer struct { }
UnimplementedClientAuthenticationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedClientAuthenticationServiceServer) Authenticate ¶
func (UnimplementedClientAuthenticationServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
type UnimplementedClientRegistrationServiceServer ¶
type UnimplementedClientRegistrationServiceServer struct { }
UnimplementedClientRegistrationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedClientRegistrationServiceServer) Register ¶
func (UnimplementedClientRegistrationServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
type UnsafeClientAuthenticationServiceServer ¶
type UnsafeClientAuthenticationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeClientAuthenticationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClientAuthenticationServiceServer will result in compilation errors.
type UnsafeClientRegistrationServiceServer ¶
type UnsafeClientRegistrationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeClientRegistrationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClientRegistrationServiceServer will result in compilation errors.