Skip to content

Put Application Grant

ssoadmin_put_application_grant R Documentation

Adds a grant to an application

Description

Adds a grant to an application.

Usage

ssoadmin_put_application_grant(ApplicationArn, Grant, GrantType)

Arguments

ApplicationArn

[required] Specifies the ARN of the application to update.

Grant

[required] Specifies a structure that describes the grant to update.

GrantType

[required] Specifies the type of grant to update.

Value

An empty list.

Request syntax

svc$put_application_grant(
  ApplicationArn = "string",
  Grant = list(
    AuthorizationCode = list(
      RedirectUris = list(
        "string"
      )
    ),
    JwtBearer = list(
      AuthorizedTokenIssuers = list(
        list(
          AuthorizedAudiences = list(
            "string"
          ),
          TrustedTokenIssuerArn = "string"
        )
      )
    ),
    RefreshToken = list(),
    TokenExchange = list()
  ),
  GrantType = "authorization_code"|"refresh_token"|"urn:ietf:params:oauth:grant-type:jwt-bearer"|"urn:ietf:params:oauth:grant-type:token-exchange"
)