package
0.0.0-20240430170323-5d153c6987f3
Repository: https://github.com/contribsys/sparq.git
Documentation: pkg.go.dev

# Functions

ClientBasicHandler get client data from basic authorization.
ClientFormHandler get client data from form.
DefaultValidateURI validates that redirectURI is contained in baseURI.
NewAccessGenerate create to generate the access token instance.
NewAuthorizeGenerate create to generate the authorize code instance.
No description provided by the author
NewClientStore create client store.
NewConfig create to configuration instance.
NewDefaultManager create to default authorization management instance.
NewDefaultServer create a default authorization server.
NewManager create to authorization management instance.
NewResponse create the response pointer.
NewServer create authorization server.
NewToken create to token model instance.

# Constants

define authorization model.
define authorization model.
CodeChallengePlain PCKE Method.
CodeChallengeS256 PCKE Method.
define the type of authorization request.
define authorization model.
define authorization model.
define authorization model.
define the type of authorization request.

# Variables

default configs.
default configs.
default configs.
default configs.
default configs.
default configs.
Descriptions error description.
https://tools.ietf.org/html/rfc6749#section-5.2.
https://tools.ietf.org/html/rfc6749#section-5.2.
known errors.
known errors.
known errors.
known errors.
https://tools.ietf.org/html/rfc6749#section-5.2.
known errors.
https://tools.ietf.org/html/rfc6749#section-5.2.
https://tools.ietf.org/html/rfc6749#section-5.2.
known errors.
known errors.
https://tools.ietf.org/html/rfc6749#section-5.2.
https://tools.ietf.org/html/rfc6749#section-5.2.
known errors.
known errors.
https://tools.ietf.org/html/rfc6749#section-5.2.
https://tools.ietf.org/html/rfc6749#section-5.2.
https://tools.ietf.org/html/rfc6749#section-5.2.
https://tools.ietf.org/html/rfc6749#section-5.2.
https://tools.ietf.org/html/rfc6749#section-5.2.
https://tools.ietf.org/html/rfc6749#section-5.2.
New returns an error that formats as the given text.
StatusCodes response error HTTP status code.

# Structs

AuthorizeRequest authorization request.
Config authorization configuration parameters.
Config configuration parameters.
No description provided by the author
RefreshingConfig refreshing token config.
Response error response.
Server Provide authorization server.
Token token model.
TokenGenerateRequest provide to generate the token request parameters.

# Interfaces

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
Manager authorization management interface.
No description provided by the author
No description provided by the author

# Type aliases

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
CodeChallengeMethod PCKE method.
No description provided by the author
GrantType authorization model.
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
ResponseType the type of authorization request.
No description provided by the author
No description provided by the author