Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateTokenResponse

import type { CreateTokenResponse } from "https://aws-api.deno.dev/v0.4/services/ssooidc.ts?docs=full";
interface CreateTokenResponse {
accessToken?: string | null;
expiresIn?: number | null;
idToken?: string | null;
refreshToken?: string | null;
tokenType?: string | null;
}

§Properties

§
accessToken?: string | null
[src]

An opaque token to access IAM Identity Center resources assigned to a user.

§
expiresIn?: number | null
[src]

Indicates the time in seconds when an access token will expire.

§
idToken?: string | null
[src]

Currently, idToken is not yet implemented and is not supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

The identifier of the user that associated with the access token, if present.

§
refreshToken?: string | null
[src]

Currently, refreshToken is not yet implemented and is not supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

A token that, if present, can be used to refresh a previously issued access token that might have expired.

§
tokenType?: string | null
[src]

Used to notify the client that the returned token is an access token. The supported type is BearerToken.