feat: add automatic application_type inference (#904)
Implement requirements introduced by [SEP-337](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/837) Fixes #903 --------- Co-authored-by: Maciej Kisiel <mkisiel@google.com>
This commit is contained in:
parent
db50910c70
commit
2643b22a4e
1 changed files with 176 additions and 0 deletions
|
|
@ -89,6 +89,11 @@ type ClientRegistrationMetadata struct {
|
|||
// SoftwareStatement is an OPTIONAL JWT that asserts client metadata values.
|
||||
// Values in the software statement take precedence over other metadata values.
|
||||
SoftwareStatement string `json:"software_statement,omitempty"`
|
||||
|
||||
// ApplicationType is an OPTIONAL string that indicates the type of application.
|
||||
// Valid values are "native" and "web".
|
||||
// If omitted, OIDC-compliant authorization servers default to "web".
|
||||
ApplicationType string `json:"application_type,omitempty"`
|
||||
}
|
||||
|
||||
// ClientRegistrationResponse represents the fields returned by the Authorization Server
|
||||
|
|
|
|||
Loading…
Reference in a new issue