Skip to content
Snippets Groups Projects
accessTokenRequest.go 445 B
package pkg

import (
	"github.com/zachmann/mytoken/internal/model"
)

// AccessTokenRequest holds an request for an access token
type AccessTokenRequest struct {
	Issuer     string          `json:"oidc_issuer"`
	GrantType  model.GrantType `json:"grant_type"`
	SuperToken string          `json:"super_token"`
	Scope      string          `json:"scope"`
	Audience   string          `json:"audience"`
	Comment    string          `json:"comment"`
}