TokenResponse Interface

Packages > @fluidframework/odsp-client > TokenResponse

Represents token response

This API is provided as a beta preview and may change without notice.

To use, import via @fluidframework/odsp-client/beta.

For more information about our API support guarantees, see here .

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

Whether or not the token was obtained from local cache.

This API is provided as a beta preview and may change without notice.

To use, import via @fluidframework/odsp-client/beta.

For more information about our API support guarantees, see here .

Signature

fromCache?: boolean;

Type: boolean

Remarks

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

token

Token value

This API is provided as a beta preview and may change without notice.

To use, import via @fluidframework/odsp-client/beta.

For more information about our API support guarantees, see here .

Signature

token: string;

Type: string