auth0.getClientGrants
Data source to retrieve a client grants based on client_id and/or audience
Using getClientGrants
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getClientGrants(args: GetClientGrantsArgs, opts?: InvokeOptions): Promise<GetClientGrantsResult>
function getClientGrantsOutput(args: GetClientGrantsOutputArgs, opts?: InvokeOptions): Output<GetClientGrantsResult>def get_client_grants(audience: Optional[str] = None,
client_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClientGrantsResult
def get_client_grants_output(audience: Optional[pulumi.Input[str]] = None,
client_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClientGrantsResult]func GetClientGrants(ctx *Context, args *GetClientGrantsArgs, opts ...InvokeOption) (*GetClientGrantsResult, error)
func GetClientGrantsOutput(ctx *Context, args *GetClientGrantsOutputArgs, opts ...InvokeOption) GetClientGrantsResultOutput> Note: This function is named GetClientGrants in the Go SDK.
public static class GetClientGrants
{
public static Task<GetClientGrantsResult> InvokeAsync(GetClientGrantsArgs args, InvokeOptions? opts = null)
public static Output<GetClientGrantsResult> Invoke(GetClientGrantsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClientGrantsResult> getClientGrants(GetClientGrantsArgs args, InvokeOptions options)
public static Output<GetClientGrantsResult> getClientGrants(GetClientGrantsArgs args, InvokeOptions options)
fn::invoke:
function: auth0:index/getClientGrants:getClientGrants
arguments:
# arguments dictionaryThe following arguments are supported:
getClientGrants Result
The following output properties are available:
- Client
Grants List<GetClient Grants Client Grant> - List of client grants matching the criteria.
- Id string
- The provider-assigned unique ID for this managed resource.
- Audience string
- The audience to filter by.
- Client
Id string - The ID of the client to filter by.
- Client
Grants []GetClient Grants Client Grant - List of client grants matching the criteria.
- Id string
- The provider-assigned unique ID for this managed resource.
- Audience string
- The audience to filter by.
- Client
Id string - The ID of the client to filter by.
- client
Grants List<GetClient Grants Client Grant> - List of client grants matching the criteria.
- id String
- The provider-assigned unique ID for this managed resource.
- audience String
- The audience to filter by.
- client
Id String - The ID of the client to filter by.
- client
Grants GetClient Grants Client Grant[] - List of client grants matching the criteria.
- id string
- The provider-assigned unique ID for this managed resource.
- audience string
- The audience to filter by.
- client
Id string - The ID of the client to filter by.
- client_
grants Sequence[GetClient Grants Client Grant] - List of client grants matching the criteria.
- id str
- The provider-assigned unique ID for this managed resource.
- audience str
- The audience to filter by.
- client_
id str - The ID of the client to filter by.
- client
Grants List<Property Map> - List of client grants matching the criteria.
- id String
- The provider-assigned unique ID for this managed resource.
- audience String
- The audience to filter by.
- client
Id String - The ID of the client to filter by.
Supporting Types
GetClientGrantsClientGrant
- Audience string
- The audience of the client grant.
- Client
Id string - The client ID associated with the grant.
- Id string
- The ID of the client grant.
- Scopes List<string>
- List of granted scopes.
- Subject
Type string - The subject type (usually 'client').
- Audience string
- The audience of the client grant.
- Client
Id string - The client ID associated with the grant.
- Id string
- The ID of the client grant.
- Scopes []string
- List of granted scopes.
- Subject
Type string - The subject type (usually 'client').
- audience String
- The audience of the client grant.
- client
Id String - The client ID associated with the grant.
- id String
- The ID of the client grant.
- scopes List<String>
- List of granted scopes.
- subject
Type String - The subject type (usually 'client').
- audience string
- The audience of the client grant.
- client
Id string - The client ID associated with the grant.
- id string
- The ID of the client grant.
- scopes string[]
- List of granted scopes.
- subject
Type string - The subject type (usually 'client').
- audience str
- The audience of the client grant.
- client_
id str - The client ID associated with the grant.
- id str
- The ID of the client grant.
- scopes Sequence[str]
- List of granted scopes.
- subject_
type str - The subject type (usually 'client').
- audience String
- The audience of the client grant.
- client
Id String - The client ID associated with the grant.
- id String
- The ID of the client grant.
- scopes List<String>
- List of granted scopes.
- subject
Type String - The subject type (usually 'client').
Package Details
- Repository
- Auth0 pulumi/pulumi-auth0
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
auth0Terraform Provider.
