Источник / закреплённая редакция
The OAuth 2.0 Authorization Framework
Источник пакета ietf.oauth2_access_token · RFC 6749
- work
- urn:ietf:clir:oauth2-access-token#RFC6749
- номер
- RFC 6749
- вид
- urn:ietf:clir:oauth2-access-token#standards_track
RFC 6749 (D. Hardt, ed.)
- edition
- urn:ietf:clir:oauth2-access-token#RFC6749_EN
- язык
- en
- официальность
- official
- материализация
- PINNED_OFFICIAL_BYTES
- жизненный цикл
- adopted: 2012-10-01; in_force: [object Object]
Публикации
| URI | Тип | documentHash | Получено |
|---|---|---|---|
| https://www.rfc-editor.org/rfc/rfc6749.txt | text/plain; charset=utf-8 | sha256:f204fc8661d6c92d2ec6e0b54808f961a9ad26e792f57f312d9528335519bd71 | 2026-09-02T00:30:00Z |
Фрагменты — 4
section/1_4 · section · на него ссылаются: 2
en · official · sha256:12d44453a7b68d70f4cee31dc0a880ba54636c52e19dca9c10f68fb4e915fdf0EN
Hardt Standards Track [Page 9]
RFC 6749 OAuth 2.0 October 2012
1.4. Access Token
Access tokens are credentials used to access protected resources. An
access token is a string representing an authorization issued to the
client. The string is usually opaque to the client. Tokens
represent specific scopes and durations of access, granted by the
resource owner, and enforced by the resource server and authorization
server.
The token may denote an identifier used to retrieve the authorization
information or may self-contain the authorization information in a
verifiable manner (i.e., a token string consisting of some data and a
signature). Additional authentication credentials, which are beyond
the scope of this specification, may be required in order for the
client to use a token.
The access token provides an abstraction layer, replacing different
authorization constructs (e.g., username and password) with a single
token understood by the resource server. This abstraction enablesСсылаются нормы: DirectlyIssuedTokenIsRootAuthority, TokenIsAuthorityFromOwnerToClient
section/1_5 · section · на него ссылаются: 4
en · official · sha256:b71e5c08ed8e2de56469ba40dca9d67a6e8c43eeef1d94c13f677923e495214fEN
to understand a wide range of authentication methods.
Access tokens can have different formats, structures, and methods of
utilization (e.g., cryptographic properties) based on the resource
server security requirements. Access token attributes and the
methods used to access protected resources are beyond the scope of
this specification and are defined by companion specifications such
as [RFC6750].
1.5. Refresh Token
Refresh tokens are credentials used to obtain access tokens. Refresh
tokens are issued to the client by the authorization server and are
used to obtain a new access token when the current access token
becomes invalid or expires, or to obtain additional access tokensСсылаются нормы: AccessTokenFromRefreshIsSubdelegation, RefreshTokenIsNeverSentToResourceServers, RefreshTokenIsRootAuthority, RefreshTokenPermitsObtainingAccessTokens
section/3_3 · section · на него ссылаются: 1
en · official · sha256:c39f78c8a4f837e4b52093c7e84c4edef702e2e48c4f0e4277b89694fbf093ceEN
set of client credentials is significantly easier.
Hardt Standards Track [Page 22]
RFC 6749 OAuth 2.0 October 2012
A client MAY use the "client_id" request parameter to identify itself
when sending requests to the token endpoint. In the
"authorization_code" "grant_type" request to the token endpoint, an
unauthenticated client MUST send its "client_id" to prevent itself
from inadvertently accepting a code intended for a client with a
different "client_id". This protects the client from substitution of
the authentication code. (It provides no additional security for the
protected resource.)
3.3. Access Token Scope
The authorization and token endpoints allow the client to specify the
scope of the access request using the "scope" request parameter. In
turn, the authorization server uses the "scope" response parameter to
inform the client of the scope of the access token issued.Ссылаются нормы: ScopeTokenIsCoveredAct
section/5_1 · section · на него ссылаются: 2
en · official · sha256:834d8ee546bacf3111e1a04932799bd3efaa68bd85a50d4b4b491de15400ed1eEN
Hardt Standards Track [Page 42]
RFC 6749 OAuth 2.0 October 2012
For example, to request an access token using a Security Assertion
Markup Language (SAML) 2.0 assertion grant type as defined by
[OAuth-SAML2], the client could make the following HTTP request using
TLS (with extra line breaks for display purposes only):
POST /token HTTP/1.1
Host: server.example.com
Content-Type: application/x-www-form-urlencodedСсылаются нормы: ExpiryDayClosesLifetime, IssueDayOpensLifetime
Хэш рядом с текстом — sha256 его точных байтов. Он и есть проверка того, что показанный текст совпадает с закреплённым в пакете: расхождение роняет статику оракула.