feat: coverage prompt=none, response_mode=fragment (#385)
This commit is contained in:
parent
e62473ba71
commit
157bc6ceb0
5 changed files with 117 additions and 10 deletions
|
@ -60,7 +60,7 @@ const (
|
|||
)
|
||||
|
||||
// AuthRequest according to:
|
||||
//https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
|
||||
// https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
|
||||
type AuthRequest struct {
|
||||
Scopes SpaceDelimitedArray `json:"scope" schema:"scope"`
|
||||
ResponseType ResponseType `json:"response_type" schema:"response_type"`
|
||||
|
@ -100,3 +100,8 @@ func (a *AuthRequest) GetResponseType() ResponseType {
|
|||
func (a *AuthRequest) GetState() string {
|
||||
return a.State
|
||||
}
|
||||
|
||||
// GetResponseMode returns the optional ResponseMode
|
||||
func (a *AuthRequest) GetResponseMode() ResponseMode {
|
||||
return a.ResponseMode
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue