انتقل إلى المحتوى الرئيسي

Interface: SessionSettings

Defined in: packages/identity/src/port.ts:317

Session and token lifetimes, in seconds.

On Keycloak they are realm-wide. On WSO2 the three token lifetimes are per application and the SSO session ones are per tenant; ensureSessionSettings applies them to every managed client, and ClientSpec.tokenLifetimes is how a client created later gets them.

Properties​

accessTokenSeconds​

readonly accessTokenSeconds: number

Defined in: packages/identity/src/port.ts:319

Access token lifespan.


authorizationCodeSeconds​

readonly authorizationCodeSeconds: number

Defined in: packages/identity/src/port.ts:323

Authorization code lifespan. WSO2 has it only as a server-wide setting.


idTokenSeconds​

readonly idTokenSeconds: number

Defined in: packages/identity/src/port.ts:321

ID token lifespan. Keycloak ties it to the access token's.


offlineSessionIdleSeconds​

readonly offlineSessionIdleSeconds: number

Defined in: packages/identity/src/port.ts:331

Offline session idle (the wallet). WSO2 has no separate offline session.


refreshTokenSeconds​

readonly refreshTokenSeconds: number

Defined in: packages/identity/src/port.ts:325

Refresh token lifespan.


ssoSessionIdleSeconds​

readonly ssoSessionIdleSeconds: number

Defined in: packages/identity/src/port.ts:327

SSO session idle.


ssoSessionMaxSeconds​

readonly ssoSessionMaxSeconds: number

Defined in: packages/identity/src/port.ts:329

SSO session maximum.