mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-06-08 12:30:17 +00:00
tests: rework oidc tests and aim for better coverage
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -108,14 +108,14 @@ type TokenResponse struct {
|
|||||||
|
|
||||||
type AuthorizeRequest struct {
|
type AuthorizeRequest struct {
|
||||||
jwt.Claims
|
jwt.Claims
|
||||||
Scope string `form:"scope" binding:"required" json:"scope"`
|
Scope string `form:"scope" binding:"required" json:"scope" url:"scope"`
|
||||||
ResponseType string `form:"response_type" binding:"required" json:"response_type"`
|
ResponseType string `form:"response_type" binding:"required" json:"response_type" url:"response_type"`
|
||||||
ClientID string `form:"client_id" binding:"required" json:"client_id"`
|
ClientID string `form:"client_id" binding:"required" json:"client_id" url:"client_id"`
|
||||||
RedirectURI string `form:"redirect_uri" binding:"required" json:"redirect_uri"`
|
RedirectURI string `form:"redirect_uri" binding:"required" json:"redirect_uri" url:"redirect_uri"`
|
||||||
State string `form:"state" json:"state"`
|
State string `form:"state" json:"state" url:"state"`
|
||||||
Nonce string `form:"nonce" json:"nonce"`
|
Nonce string `form:"nonce" json:"nonce" url:"nonce"`
|
||||||
CodeChallenge string `form:"code_challenge" json:"code_challenge"`
|
CodeChallenge string `form:"code_challenge" json:"code_challenge" url:"code_challenge"`
|
||||||
CodeChallengeMethod string `form:"code_challenge_method" json:"code_challenge_method"`
|
CodeChallengeMethod string `form:"code_challenge_method" json:"code_challenge_method" url:"code_challenge_method"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type AuthorizeCodeEntry struct {
|
type AuthorizeCodeEntry struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user