SSOOIDC
import { SSOOIDC } from "https://aws-api.deno.dev/v0.2/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>;
§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.
§
registerClient(params: RegisterClientRequest, opts?: client.RequestOptions): Promise<RegisterClientResponse>
[src]Registers a client with AWS SSO. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.
§
startDeviceAuthorization(params: StartDeviceAuthorizationRequest, opts?: client.RequestOptions): Promise<StartDeviceAuthorizationResponse>
[src]Initiates device authorization by requesting a pair of verification codes from the authorization service.
§Static Properties
§
ApiMetadata: client.ApiMetadata
[src]