first draft of a new server interface
This commit is contained in:
parent
daf82a5e04
commit
d6a9c0bbb9
9 changed files with 481 additions and 9 deletions
|
@ -180,3 +180,11 @@ func ClientIDFromRequest(r *http.Request, p ClientProvider) (clientID string, au
|
|||
}
|
||||
return data.ClientID, false, nil
|
||||
}
|
||||
|
||||
type ClientCredentials struct {
|
||||
ClientID string `schema:"client_id"`
|
||||
ClientSecret string `schema:"client_secret"` // Client secret from request body
|
||||
ClientSecretBasic string `schema:"-"` // Obtained from http request
|
||||
ClientAssertion string `schema:"client_assertion"` // JWT
|
||||
ClientAssertionType string `schema:"client_assertion_type"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue