package
1.0.0
Repository: https://github.com/soedev/soego-component.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Return authorization header data.
CheckClientSecret determines whether the given secret matches a secret held by the client.
DefaultConfig ...
No description provided by the author
FirstUri Returns the first uri from an uri list.
No description provided by the author
Parse urls, resolving uri references to base redirectUrl.
ValidateUri validates that redirectUri is contained in baseUri.
ValidateUriList validates that redirectUri is contained in baseUriList.
No description provided by the author
No description provided by the author
WithAccessRequestAuthorized 设置authorized flag.
WithAuthorizeRequestAuthorized 设置authorize的flag信息.
WithAuthorizeRequestUserData 设置authorize的user data信息.
No description provided by the author
WithAuthorizeSsoParentToken 如果为空,那么自动生成,如果存在就使用他的.
No description provided by the author
No description provided by the author
No description provided by the author
WithStorage 注入存储.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
直接登录.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrNotFound is the error returned by Storage Get<...> and Load<...> functions in case no entity is found in the storage.

# Structs

AccessData represents an access grant (tokens, expiration, client, etc).
AccessRequest is a request for access tokens.
No description provided by the author
AuthorizeData ...
AuthorizeRequest information.
No description provided by the author
Parse basic authentication header.
No description provided by the author
Parse bearer authentication header.
No description provided by the author
Component ...
Config contains server configuration information.
No description provided by the author
No description provided by the author
DefaultClient stores all data in struct variables.
No description provided by the author

# Interfaces

AuthorizeTokenGen is the token generator interface.
Client information.
ClientSecretMatcher is an optional interface clients can implement which allows them to be the one to determine if a secret matches.
Storage interface.

# Type aliases

AccessRequestOption 可选项.
AccessRequestType is the type for OAuth param `grant_type`.
AllowedAccessTypes is a collection of allowed access request types.
AllowedAuthorizeTypes is a collection of allowed auth request types.
AuthorizeRequestOption 可选项.
AuthorizeRequestType is the type for OAuth param `response_type`.
No description provided by the author
No description provided by the author
ResponseData for response output.
ResponseType enum.
error returned when validation don't match.