Packages > @fluidframework/odsp-driver-definitions > TokenResponse

TokenResponse Interface

Represents token response

WARNING: This API is provided as a beta preview and may change without notice. Use at your own risk.

Signature

export interface TokenResponse

Properties

Property Alerts Modifiers Type Description
fromCache BETA optional boolean Whether or not the token was obtained from local cache.
token BETA string Token value

Property Details

fromCache (BETA)

Whether or not the token was obtained from local cache.

WARNING: This API is provided as a beta preview and may change without notice. Use at your own risk.

Signature

fromCache?: boolean;

Remarks

undefined indicates that it could not be determined whether or not the token was obtained this way.

token (BETA)

Token value

WARNING: This API is provided as a beta preview and may change without notice. Use at your own risk.

Signature

token: string;