Documentation ¶
Index ¶
- Variables
- type Display
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetErr() string
- func (x *Error) GetErrorDescription() string
- func (x *Error) GetErrorUri() string
- func (x *Error) GetResource() string
- func (x *Error) GetState() string
- func (msg *Error) MarshalJSON() ([]byte, error)
- func (m *Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Error) MarshalToVT(dAtA []byte) (int, error)
- func (m *Error) MarshalVT() (dAtA []byte, err error)
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (m *Error) SizeVT() (n int)
- func (x *Error) String() string
- func (msg *Error) UnmarshalJSON(b []byte) error
- func (m *Error) UnmarshalVT(dAtA []byte) error
- type Prompt
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Display_name = map[int32]string{ 0: "DISPLAY_UNSPECIFIED", 1: "DISPLAY_UNKNOWN", 2: "DISPLAY_PAGE", 3: "DISPLAY_POPUP", 4: "DISPLAY_TOUCH", 5: "DISPLAY_WAP", } Display_value = map[string]int32{ "DISPLAY_UNSPECIFIED": 0, "DISPLAY_UNKNOWN": 1, "DISPLAY_PAGE": 2, "DISPLAY_POPUP": 3, "DISPLAY_TOUCH": 4, "DISPLAY_WAP": 5, } )
Enum value maps for Display.
View Source
var ( Prompt_name = map[int32]string{ 0: "PROMPT_UNSPECIFIED", 1: "PROMPT_UNKNOWN", 2: "PROMPT_NONE", 3: "PROMPT_LOGIN", 4: "PROMPT_CONSENT", 5: "PROMPT_SELECT_ACCOUNT", } Prompt_value = map[string]int32{ "PROMPT_UNSPECIFIED": 0, "PROMPT_UNKNOWN": 1, "PROMPT_NONE": 2, "PROMPT_LOGIN": 3, "PROMPT_CONSENT": 4, "PROMPT_SELECT_ACCOUNT": 5, } )
Enum value maps for Prompt.
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_oidc_core_v1_enums_proto protoreflect.FileDescriptor
View Source
var File_oidc_core_v1_error_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Display ¶
type Display int32
Display defines values to set how to displays the authentication and consent user interface pages to the End-User.
const ( // Default value when nothing specificied. Display_DISPLAY_UNSPECIFIED Display = 0 // Value to set as unknown. Display_DISPLAY_UNKNOWN Display = 1 // The Authorization Server SHOULD display the authentication and consent UI // consistent with a full User Agent page view. If the display parameter is // not specified, this is the default display mode. Display_DISPLAY_PAGE Display = 2 // The Authorization Server SHOULD display the authentication and consent UI // consistent with a popup User Agent window. The popup User Agent window // should be of an appropriate size for a login-focused dialog and should not // obscure the entire window that it is popping up over. Display_DISPLAY_POPUP Display = 3 // The Authorization Server SHOULD display the authentication and consent UI // consistent with a device that leverages a touch interface. Display_DISPLAY_TOUCH Display = 4 // The Authorization Server SHOULD display the authentication and consent UI // consistent with a "feature phone" type display. Display_DISPLAY_WAP Display = 5 )
func (Display) Descriptor ¶
func (Display) Descriptor() protoreflect.EnumDescriptor
func (Display) EnumDescriptor
deprecated
func (Display) Number ¶
func (x Display) Number() protoreflect.EnumNumber
func (Display) Type ¶
func (Display) Type() protoreflect.EnumType
type Error ¶
type Error struct { // REQUIRED. Error code. Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // OPTIONAL. Human-readable ASCII encoded text description of the error. ErrorDescription string `protobuf:"bytes,2,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"` // OPTIONAL. URI of a web page that includes additional information about the // error. ErrorUri *string `protobuf:"bytes,3,opt,name=error_uri,json=errorUri,proto3,oneof" json:"error_uri,omitempty"` // OAuth 2.0 state value. REQUIRED if the Authorization Request included the // state parameter. Set to the value received from the Client. State *string `protobuf:"bytes,4,opt,name=state,proto3,oneof" json:"state,omitempty"` // OPTIONAL. URI of the resource. Resource *string `protobuf:"bytes,5,opt,name=resource,proto3,oneof" json:"resource,omitempty"` // contains filtered or unexported fields }
https://www.rfc-editor.org/rfc/rfc6749.html#section-4.1.2.1
func (*Error) Descriptor
deprecated
func (*Error) GetErrorDescription ¶
func (*Error) GetErrorUri ¶
func (*Error) GetResource ¶
func (*Error) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Error) MarshalToSizedBufferVT ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
func (*Error) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Error) UnmarshalVT ¶
type Prompt ¶
type Prompt int32
Prompt defines values for required prompt actions.
const ( // Default value when nothing specificied. Prompt_PROMPT_UNSPECIFIED Prompt = 0 // Value to set as unknown. Prompt_PROMPT_UNKNOWN Prompt = 1 // The Authorization Server MUST NOT display any authentication or consent // user interface pages. An error is returned if an End-User is not already // authenticated or the Client does not have pre-configured consent for the // requested Claims or does not fulfill other conditions for processing the // request. The error code will typically be login_required, // interaction_required, or another code defined in Section 3.1.2.6. This // can be used as a method to check for existing authentication and/or // consent. Prompt_PROMPT_NONE Prompt = 2 // The Authorization Server SHOULD prompt the End-User for reauthentication. // If it cannot reauthenticate the End-User, it MUST return an error, // typically login_required. Prompt_PROMPT_LOGIN Prompt = 3 // The Authorization Server SHOULD prompt the End-User for consent before // returning information to the Client. If it cannot obtain consent, it MUST // return an error, typically consent_required. Prompt_PROMPT_CONSENT Prompt = 4 // The Authorization Server SHOULD prompt the End-User to select a user // account. This enables an End-User who has multiple accounts at the // Authorization Server to select amongst the multiple accounts that they // might have current sessions for. If it cannot obtain an account selection // choice made by the End-User, it MUST return an error, typically // account_selection_required. Prompt_PROMPT_SELECT_ACCOUNT Prompt = 5 )
func (Prompt) Descriptor ¶
func (Prompt) Descriptor() protoreflect.EnumDescriptor
func (Prompt) EnumDescriptor
deprecated
func (Prompt) Number ¶
func (x Prompt) Number() protoreflect.EnumNumber
func (Prompt) Type ¶
func (Prompt) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.