SSO class
AWS Single Sign-On Portal is a web service that makes it easy for you to assign user access to AWS SSO resources such as the user portal. Users can get AWS account applications and roles assigned to them and get federated into the application.
For general information about AWS SSO, see What is AWS Single Sign-On? in the AWS SSO User Guide.
This API reference guide describes the AWS SSO Portal operations that you can call programatically and includes detailed information on data types and errors.
Constructors
- SSO({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void - Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
-
getRoleCredentials(
{required String accessToken, required String accountId, required String roleName}) → Future< GetRoleCredentialsResponse> - Returns the STS short-term credentials for a given role name that is assigned to the user.
-
listAccountRoles(
{required String accessToken, required String accountId, int? maxResults, String? nextToken}) → Future< ListAccountRolesResponse> - Lists all roles that are assigned to the user for a given AWS account.
-
listAccounts(
{required String accessToken, int? maxResults, String? nextToken}) → Future< ListAccountsResponse> - Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the administrator of the account. For more information, see Assign User Access in the AWS SSO User Guide. This operation returns a paginated response.
-
logout(
{required String accessToken}) → Future< void> - Removes the client- and server-side session that is associated with the user.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited