implement rp

This commit is contained in:
Tim Möhlmann 2023-02-27 12:55:52 +01:00
parent b885398466
commit 75f503ce43
4 changed files with 153 additions and 28 deletions

View file

@ -24,6 +24,6 @@ type DeviceAuthorizationResponse struct {
// https://www.rfc-editor.org/rfc/rfc8628#section-3.4,
// Device Access Token Request.
type DeviceAccessTokenRequest struct {
GrantType string `json:"grant_type"`
DeviceCode string `json:"device_code"`
GrantType GrantType `json:"grant_type"`
DeviceCode string `json:"device_code"`
}