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

SSOOIDC

import { SSOOIDC } from "https://aws-api.deno.dev/v0.3/services/ssooidc.ts?docs=full";
class SSOOIDC {
constructor(apiFactory: client.ApiFactory);
async createToken(params: CreateTokenRequest, opts?: client.RequestOptions): Promise<CreateTokenResponse>;
async registerClient(params: RegisterClientRequest, opts?: client.RequestOptions): Promise<RegisterClientResponse>;
async startDeviceAuthorization(params: StartDeviceAuthorizationRequest, opts?: client.RequestOptions): Promise<StartDeviceAuthorizationResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new SSOOIDC(apiFactory: client.ApiFactory)
[src]

§Methods

§

Creates and returns an access token for the authorized client. The access token issued will be used to fetch short-term credentials for the assigned roles in the AWS account.

§

Registers a client with AWS SSO. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.

§

Initiates device authorization by requesting a pair of verification codes from the authorization service.

§Static Properties