You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`auth:schemes`| Map<string, [AuthenticationSchemeObject](#authentication-scheme-object)> | A property that contains all of the [scheme definitions](#authentication-scheme-object) used by Assets and Links in the STAC Item or Collection. |
|`auth:schemes`| Map<string, [Authentication Scheme Object](#authentication-scheme-object)> | A property that contains all of the [scheme definitions](#authentication-scheme-object) used by Assets and Links in the STAC Item or Collection. |
37
37
38
38
---
39
39
@@ -45,25 +45,25 @@ The fields in the table below can be used in these parts of STAC documents:
45
45
-[x] Assets (for both Collections and Items, incl. Item Asset Definitions in Collections)
|`apiKey`| Description of [API key](https://swagger.io/docs/specification/authentication/api-keys/) authentication included in request headers, query parameters, or cookies. |
66
-
|`openIdConnect`| Description of [OpenID Connect Discovery](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) authentication |
|`apiKey`| Description of [API key](https://swagger.io/docs/specification/authentication/api-keys/) authentication included in request headers, query parameters, or cookies. |
66
+
|`openIdConnect`| Description of [OpenID Connect Discovery](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) authentication |
67
67
68
68
### Authentication Scheme Object
69
69
@@ -72,15 +72,15 @@ The Authentication Scheme aligns with the
72
72
API Key, and OpenID authentication. All the [authentication clients](https://github.com/stac-utils/stac-asset#clients) included in the
73
73
[stac-asset](https://github.com/stac-utils/stac-asset) library can be described, as well as a custom signed URL authentication scheme.
|`type`| string |**REQUIRED**. The authentication scheme type used to access the data (`http`\|`s3`\|`planetaryComputer`\|`earthdata`\|`signedUrl`\|`oauth2`\|`apiKey`\|`openIdConnect`\|`myCustomSchemeType`).|
78
-
|`description`| string | Additional instructions for authentication|
79
-
|`name`| string | Required for `type: apiKey`. The name of the header, query, or cookie parameter to be used.|
80
-
|`in`| string | Required for `type: apiKey`. The location of the API key (`query`\|`header`\|`cookie`).|
81
-
|`scheme`| string | Required for `type: http`. The name of the HTTP Authorization scheme to be used in the [Authorization header as defined in RFC7235](https://tools.ietf.org/html/rfc7235#section-5.1). The values used SHOULD be registered in the [IANA Authentication Scheme registry](https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml). (`basic`\|`bearer`) |
82
-
|`flows`| Map<string, [AuthenticationFlowsObject](#authentication-flow-object)> | Required for `type: oauth2` and `type: signedUrl`. Scenarios an API client performs to get an access token from the authorization server (`authorizationCode`\|`implicit`\|`password `\|`clientCredentials`)|
83
-
|`openIdConnectUrl`| string | Required for `type: openIdConnectUrl`. OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the form of a URL.|
|`type`| string |**REQUIRED**. The authentication scheme type used to access the data (`http`\|`s3`\|`planetaryComputer`\|`earthdata`\|`signedUrl`\|`oauth2`\|`apiKey`\|`openIdConnect`\|`myCustomSchemeType`). |
78
+
|`description`| string| Additional instructions for authentication|
79
+
|`name`| string | Required for `type: apiKey`. The name of the header, query, or cookie parameter to be used.|
80
+
|`in`| string | Required for `type: apiKey`. The location of the API key (`query`\|`header`\|`cookie`).|
81
+
|`scheme`| string | Required for `type: http`. The name of the HTTP Authorization scheme to be used in the [Authorization header as defined in RFC7235](https://tools.ietf.org/html/rfc7235#section-5.1). The values used SHOULD be registered in the [IANA Authentication Scheme registry](https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml). (`basic`\|`bearer`\|`digest`\|`dpop`\|`hoba`\|`mutual`\|`negotiate`\|`oauth` (1.0) \|`privatetoken`\|`scram-sha-1`\|`scram-sha-256`\|`vapid`)|
82
+
|`flows`| Map<string, [Authentication Flows Object](#authentication-flow-object)> | Required for `type: oauth2` and `type: signedUrl`. Scenarios an API client performs to get an access token from the authorization server (`authorizationCode`\|`implicit`\|`password `\|`clientCredentials`) |
83
+
|`openIdConnectUrl`| string | Required for `type: openIdConnectUrl`. OpenID Connect URL to discover OAuth2 configuration values. This MUST be in the form of a URL. |
84
84
85
85
### Authentication Flow Object
86
86
@@ -89,27 +89,27 @@ the supported OAuth Flows.
89
89
90
90
Configuration details for a supported OAuth Flow
91
91
92
-
| Field Name | Type | Description |
93
-
| ---|:---:|--- |
94
-
|`authorizationUrl`|`string`| Required for `oauth2` (`"implicit"`, `"authorizationCode"`). The authorization URL to be used for this flow. This MUST be in the form of a URL.|
95
-
|`tokenUrl`|`string`| Required for `oauth2` (`"password"`, `"clientCredentials"`, `"authorizationCode"`). The token URL to be used for this flow. This MUST be in the form of a URL.|
96
-
|`authorizationApi`|`string`| Optional for `signedUrl`. The signed URL API endpoint to be used for this flow. If not enferred from the client environment, this must be defined in the authentication flow.|
97
-
|`refreshUrl`|`string`| Optional for `oauth2`. The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL.|
98
-
|`scopes`| Map<`string`, `string`> | Required for `oauth2`. The available scopes for the authentication scheme. A map between the scope name and a short description for it. The map MAY be empty. |
99
-
|`method`|`string`| Required for `signedUrl`. The method to be used for requests |
100
-
|`parameters`| Map<string, [ParameterObject](#parameter-object)> | Optional for `signedUrl`. Parameter definition for requests to the `authorizationApi`|
101
-
|`responseField`| string | Optional for `signedUrl`. Key name for the signed URL field in an authorizationApi response |
|`authorizationUrl`|`string`| Required for `oauth2` (`"implicit"`, `"authorizationCode"`). The authorization URL to be used for this flow. This MUST be in the form of a URL. |
95
+
|`tokenUrl`|`string`| Required for `oauth2` (`"password"`, `"clientCredentials"`, `"authorizationCode"`). The token URL to be used for this flow. This MUST be in the form of a URL. |
96
+
|`authorizationApi`|`string`| Optional for `signedUrl`. The signed URL API endpoint to be used for this flow. If not enferred from the client environment, this must be defined in the authentication flow. |
97
+
|`refreshUrl`|`string`| Optional for `oauth2`. The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. |
98
+
|`scopes`| Map<`string`, `string`>| Required for `oauth2`. The available scopes for the authentication scheme. A map between the scope name and a short description for it. The map MAY be empty. |
99
+
|`method`|`string`| Required for `signedUrl`. The method to be used for requests |
100
+
|`parameters`| Map<string, [Parameter Object](#parameter-object)> | Optional for `signedUrl`. Parameter definition for requests to the `authorizationApi`|
101
+
|`responseField`| string| Optional for `signedUrl`. Key name for the signed URL field in an authorizationApi response |
102
102
103
103
### Parameter Object
104
104
105
105
Definition for a request parameter
106
106
107
-
| Field Name | Type | Description |
108
-
| ---|:---:|--- |
109
-
|`in`|`string`| The location of the parameter (`query`\|`header`\|`body`). |
110
-
|`required`|`boolean`| Setting for optional or required parameter |
111
-
|`description`|`string`| Optional. Plain language description of the parameter |
112
-
|`schema`|`object`| Optional. Schema object following the [OpenAPI extended subset](https://swagger.io/docs/specification/data-models/) of the [JSON Schema spec](https://json-schema.org/)|
107
+
| Field Name | Type| Description |
108
+
| ------------- |--------- | ----------- |
109
+
|`in`|`string`| The location of the parameter (`query`\|`header`\|`body`). |
110
+
|`required`|`boolean`| Setting for optional or required parameter|
111
+
|`description`|`string`| Optional. Plain language description of the parameter|
112
+
|`schema`|`object`| Optional. Schema object following the [OpenAPI extended subset](https://swagger.io/docs/specification/data-models/) of the [JSON Schema spec](https://json-schema.org/)|
0 commit comments