mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 07:17:23 +00:00
docs(actions): correct tokens in post authentication (#5600)
* docs(actions): correct tokens in post authentication * docs(actions): correct context fields in complement token
This commit is contained in:
parent
4f5b195420
commit
d515e1a004
@ -17,7 +17,7 @@ This trigger is called before userinfo are set in the token or response.
|
|||||||
- `getUser()` [*User*](./objects#user)
|
- `getUser()` [*User*](./objects#user)
|
||||||
- `user`
|
- `user`
|
||||||
- `getMetadata()` [*metadataResult*](./objects#metadata-result)
|
- `getMetadata()` [*metadataResult*](./objects#metadata-result)
|
||||||
- `grants` [*UserGrantList*](./objects#user-grant-list)
|
- `grants` [*UserGrantList*](./objects#user-grant-list)
|
||||||
- `api`
|
- `api`
|
||||||
The second parameter contains the following fields:
|
The second parameter contains the following fields:
|
||||||
- `v1`
|
- `v1`
|
||||||
@ -45,7 +45,7 @@ This trigger is called before the claims are set in the access token and the tok
|
|||||||
- `getUser()` [*User*](./objects#user)
|
- `getUser()` [*User*](./objects#user)
|
||||||
- `user`
|
- `user`
|
||||||
- `getMetadata()` [*metadataResult*](./objects#metadata-result)
|
- `getMetadata()` [*metadataResult*](./objects#metadata-result)
|
||||||
- `grants` [*UserGrantList*](./objects#user-grant-list)
|
- `grants` [*UserGrantList*](./objects#user-grant-list)
|
||||||
- `api`
|
- `api`
|
||||||
The second parameter contains the following fields:
|
The second parameter contains the following fields:
|
||||||
- `v1`
|
- `v1`
|
||||||
|
@ -13,13 +13,13 @@ A user has authenticated externally. ZITADEL retrieved and mapped the external i
|
|||||||
- `ctx`
|
- `ctx`
|
||||||
The first parameter contains the following fields
|
The first parameter contains the following fields
|
||||||
- `accessToken` *string*
|
- `accessToken` *string*
|
||||||
The access token which will be returned to the user. This can be an opaque token or a JWT
|
The access token returned by the identity provider. This can be an opaque token or a JWT
|
||||||
- `claimsJSON()` [*idTokenClaims*](../openidoauth/claims)
|
- `claimsJSON()` [*idTokenClaims*](../openidoauth/claims)
|
||||||
Returns all claims of the id token
|
Returns all claims of the id token
|
||||||
- `getClaim(key)` *Any*
|
- `getClaim(key)` *Any*
|
||||||
Returns the requested [id token claim](../openidoauth/claims)
|
Returns the requested [id token claim](../openidoauth/claims)
|
||||||
- `idToken` *string*
|
- `idToken` *string*
|
||||||
The id token which will be returned to the user
|
The id token provided by the identity provider.
|
||||||
- `v1`
|
- `v1`
|
||||||
- `externalUser()` [*externalUser*](./objects#external-user)
|
- `externalUser()` [*externalUser*](./objects#external-user)
|
||||||
- `authError` *string*
|
- `authError` *string*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user