1. Packages
  2. FusionAuth
  3. API Docs
  4. FusionAuthIdpXBox
FusionAuth v5.0.4 published on Tuesday, Jul 9, 2024 by Theo Gravity

fusionauth.FusionAuthIdpXBox

Explore with Pulumi AI

fusionauth logo
FusionAuth v5.0.4 published on Tuesday, Jul 9, 2024 by Theo Gravity

    # Xbox Identity Provider Resource

    The Xbox identity provider type will use the Xbox OAuth v2.0 login API. It will also provide a Login with Xbox button on FusionAuth’s login page that will direct a user to the Xbox login page.

    This identity provider will call Xbox’s API to load the user’s email and gtg (Gamer Tag) and use those as email and username to lookup or create a user in FusionAuth depending on the linking strategy configured for this identity provider. Additional claims returned by Xbox can be used to reconcile the user to FusionAuth by using an Xbox Reconcile Lambda.

    FusionAuth will also store the Xbox refresh_token returned from the Xbox API in the link between the user and the identity provider. This token can be used by an application to make further requests to Xbox APIs on behalf of the user.

    Xbox Identity Provider APIs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fusionauth from "pulumi-fusionauth";
    
    const xbox = new fusionauth.FusionAuthIdpXBox("xbox", {
        applicationConfigurations: [{
            applicationId: fusionauth_application.GPS_Insight.id,
            createRegistration: true,
            enabled: true,
        }],
        buttonText: "Login with Xbox",
        clientId: "0eb1ce3c-2fb1-4ae9-b361-d49fc6e764cc",
        clientSecret: "693s000cbn66k0mxtqzr_c_NfLy3~6_SEA",
        scope: "Xboxlive.signin Xboxlive.offline_access",
    });
    
    import pulumi
    import theogravity_pulumi-fusionauth as fusionauth
    
    xbox = fusionauth.FusionAuthIdpXBox("xbox",
        application_configurations=[fusionauth.FusionAuthIdpXBoxApplicationConfigurationArgs(
            application_id=fusionauth_application["GPS_Insight"]["id"],
            create_registration=True,
            enabled=True,
        )],
        button_text="Login with Xbox",
        client_id="0eb1ce3c-2fb1-4ae9-b361-d49fc6e764cc",
        client_secret="693s000cbn66k0mxtqzr_c_NfLy3~6_SEA",
        scope="Xboxlive.signin Xboxlive.offline_access")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/theogravity/pulumi-fusionauth/sdk/go/fusionauth"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fusionauth.NewFusionAuthIdpXBox(ctx, "xbox", &fusionauth.FusionAuthIdpXBoxArgs{
    			ApplicationConfigurations: fusionauth.FusionAuthIdpXBoxApplicationConfigurationArray{
    				&fusionauth.FusionAuthIdpXBoxApplicationConfigurationArgs{
    					ApplicationId:      pulumi.Any(fusionauth_application.GPS_Insight.Id),
    					CreateRegistration: pulumi.Bool(true),
    					Enabled:            pulumi.Bool(true),
    				},
    			},
    			ButtonText:   pulumi.String("Login with Xbox"),
    			ClientId:     pulumi.String("0eb1ce3c-2fb1-4ae9-b361-d49fc6e764cc"),
    			ClientSecret: pulumi.String("693s000cbn66k0mxtqzr_c_NfLy3~6_SEA"),
    			Scope:        pulumi.String("Xboxlive.signin Xboxlive.offline_access"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fusionauth = theogravity.Fusionauth;
    
    return await Deployment.RunAsync(() => 
    {
        var xbox = new Fusionauth.FusionAuthIdpXBox("xbox", new()
        {
            ApplicationConfigurations = new[]
            {
                new Fusionauth.Inputs.FusionAuthIdpXBoxApplicationConfigurationArgs
                {
                    ApplicationId = fusionauth_application.GPS_Insight.Id,
                    CreateRegistration = true,
                    Enabled = true,
                },
            },
            ButtonText = "Login with Xbox",
            ClientId = "0eb1ce3c-2fb1-4ae9-b361-d49fc6e764cc",
            ClientSecret = "693s000cbn66k0mxtqzr_c_NfLy3~6_SEA",
            Scope = "Xboxlive.signin Xboxlive.offline_access",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fusionauth.FusionAuthIdpXBox;
    import com.pulumi.fusionauth.FusionAuthIdpXBoxArgs;
    import com.pulumi.fusionauth.inputs.FusionAuthIdpXBoxApplicationConfigurationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var xbox = new FusionAuthIdpXBox("xbox", FusionAuthIdpXBoxArgs.builder()
                .applicationConfigurations(FusionAuthIdpXBoxApplicationConfigurationArgs.builder()
                    .applicationId(fusionauth_application.GPS_Insight().id())
                    .createRegistration(true)
                    .enabled(true)
                    .build())
                .buttonText("Login with Xbox")
                .clientId("0eb1ce3c-2fb1-4ae9-b361-d49fc6e764cc")
                .clientSecret("693s000cbn66k0mxtqzr_c_NfLy3~6_SEA")
                .scope("Xboxlive.signin Xboxlive.offline_access")
                .build());
    
        }
    }
    
    resources:
      xbox:
        type: fusionauth:FusionAuthIdpXBox
        properties:
          applicationConfigurations:
            - applicationId: ${fusionauth_application.GPS_Insight.id}
              createRegistration: true
              enabled: true
          buttonText: Login with Xbox
          clientId: 0eb1ce3c-2fb1-4ae9-b361-d49fc6e764cc
          clientSecret: 693s000cbn66k0mxtqzr_c_NfLy3~6_SEA
          scope: Xboxlive.signin Xboxlive.offline_access
    

    Create FusionAuthIdpXBox Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FusionAuthIdpXBox(name: string, args: FusionAuthIdpXBoxArgs, opts?: CustomResourceOptions);
    @overload
    def FusionAuthIdpXBox(resource_name: str,
                          args: FusionAuthIdpXBoxArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def FusionAuthIdpXBox(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          button_text: Optional[str] = None,
                          client_id: Optional[str] = None,
                          client_secret: Optional[str] = None,
                          application_configurations: Optional[Sequence[FusionAuthIdpXBoxApplicationConfigurationArgs]] = None,
                          debug: Optional[bool] = None,
                          enabled: Optional[bool] = None,
                          idp_id: Optional[str] = None,
                          lambda_reconcile_id: Optional[str] = None,
                          linking_strategy: Optional[str] = None,
                          scope: Optional[str] = None,
                          tenant_configurations: Optional[Sequence[FusionAuthIdpXBoxTenantConfigurationArgs]] = None)
    func NewFusionAuthIdpXBox(ctx *Context, name string, args FusionAuthIdpXBoxArgs, opts ...ResourceOption) (*FusionAuthIdpXBox, error)
    public FusionAuthIdpXBox(string name, FusionAuthIdpXBoxArgs args, CustomResourceOptions? opts = null)
    public FusionAuthIdpXBox(String name, FusionAuthIdpXBoxArgs args)
    public FusionAuthIdpXBox(String name, FusionAuthIdpXBoxArgs args, CustomResourceOptions options)
    
    type: fusionauth:FusionAuthIdpXBox
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FusionAuthIdpXBoxArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FusionAuthIdpXBoxArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FusionAuthIdpXBoxArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FusionAuthIdpXBoxArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FusionAuthIdpXBoxArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var fusionAuthIdpXBoxResource = new Fusionauth.FusionAuthIdpXBox("fusionAuthIdpXBoxResource", new()
    {
        ButtonText = "string",
        ClientId = "string",
        ClientSecret = "string",
        ApplicationConfigurations = new[]
        {
            new Fusionauth.Inputs.FusionAuthIdpXBoxApplicationConfigurationArgs
            {
                ApplicationId = "string",
                ButtonText = "string",
                ClientId = "string",
                ClientSecret = "string",
                CreateRegistration = false,
                Enabled = false,
                Scope = "string",
            },
        },
        Debug = false,
        Enabled = false,
        IdpId = "string",
        LambdaReconcileId = "string",
        LinkingStrategy = "string",
        Scope = "string",
        TenantConfigurations = new[]
        {
            new Fusionauth.Inputs.FusionAuthIdpXBoxTenantConfigurationArgs
            {
                LimitUserLinkCountEnabled = false,
                LimitUserLinkCountMaximumLinks = 0,
                TenantId = "string",
            },
        },
    });
    
    example, err := fusionauth.NewFusionAuthIdpXBox(ctx, "fusionAuthIdpXBoxResource", &fusionauth.FusionAuthIdpXBoxArgs{
    	ButtonText:   pulumi.String("string"),
    	ClientId:     pulumi.String("string"),
    	ClientSecret: pulumi.String("string"),
    	ApplicationConfigurations: fusionauth.FusionAuthIdpXBoxApplicationConfigurationArray{
    		&fusionauth.FusionAuthIdpXBoxApplicationConfigurationArgs{
    			ApplicationId:      pulumi.String("string"),
    			ButtonText:         pulumi.String("string"),
    			ClientId:           pulumi.String("string"),
    			ClientSecret:       pulumi.String("string"),
    			CreateRegistration: pulumi.Bool(false),
    			Enabled:            pulumi.Bool(false),
    			Scope:              pulumi.String("string"),
    		},
    	},
    	Debug:             pulumi.Bool(false),
    	Enabled:           pulumi.Bool(false),
    	IdpId:             pulumi.String("string"),
    	LambdaReconcileId: pulumi.String("string"),
    	LinkingStrategy:   pulumi.String("string"),
    	Scope:             pulumi.String("string"),
    	TenantConfigurations: fusionauth.FusionAuthIdpXBoxTenantConfigurationArray{
    		&fusionauth.FusionAuthIdpXBoxTenantConfigurationArgs{
    			LimitUserLinkCountEnabled:      pulumi.Bool(false),
    			LimitUserLinkCountMaximumLinks: pulumi.Int(0),
    			TenantId:                       pulumi.String("string"),
    		},
    	},
    })
    
    var fusionAuthIdpXBoxResource = new FusionAuthIdpXBox("fusionAuthIdpXBoxResource", FusionAuthIdpXBoxArgs.builder()
        .buttonText("string")
        .clientId("string")
        .clientSecret("string")
        .applicationConfigurations(FusionAuthIdpXBoxApplicationConfigurationArgs.builder()
            .applicationId("string")
            .buttonText("string")
            .clientId("string")
            .clientSecret("string")
            .createRegistration(false)
            .enabled(false)
            .scope("string")
            .build())
        .debug(false)
        .enabled(false)
        .idpId("string")
        .lambdaReconcileId("string")
        .linkingStrategy("string")
        .scope("string")
        .tenantConfigurations(FusionAuthIdpXBoxTenantConfigurationArgs.builder()
            .limitUserLinkCountEnabled(false)
            .limitUserLinkCountMaximumLinks(0)
            .tenantId("string")
            .build())
        .build());
    
    fusion_auth_idp_x_box_resource = fusionauth.FusionAuthIdpXBox("fusionAuthIdpXBoxResource",
        button_text="string",
        client_id="string",
        client_secret="string",
        application_configurations=[fusionauth.FusionAuthIdpXBoxApplicationConfigurationArgs(
            application_id="string",
            button_text="string",
            client_id="string",
            client_secret="string",
            create_registration=False,
            enabled=False,
            scope="string",
        )],
        debug=False,
        enabled=False,
        idp_id="string",
        lambda_reconcile_id="string",
        linking_strategy="string",
        scope="string",
        tenant_configurations=[fusionauth.FusionAuthIdpXBoxTenantConfigurationArgs(
            limit_user_link_count_enabled=False,
            limit_user_link_count_maximum_links=0,
            tenant_id="string",
        )])
    
    const fusionAuthIdpXBoxResource = new fusionauth.FusionAuthIdpXBox("fusionAuthIdpXBoxResource", {
        buttonText: "string",
        clientId: "string",
        clientSecret: "string",
        applicationConfigurations: [{
            applicationId: "string",
            buttonText: "string",
            clientId: "string",
            clientSecret: "string",
            createRegistration: false,
            enabled: false,
            scope: "string",
        }],
        debug: false,
        enabled: false,
        idpId: "string",
        lambdaReconcileId: "string",
        linkingStrategy: "string",
        scope: "string",
        tenantConfigurations: [{
            limitUserLinkCountEnabled: false,
            limitUserLinkCountMaximumLinks: 0,
            tenantId: "string",
        }],
    });
    
    type: fusionauth:FusionAuthIdpXBox
    properties:
        applicationConfigurations:
            - applicationId: string
              buttonText: string
              clientId: string
              clientSecret: string
              createRegistration: false
              enabled: false
              scope: string
        buttonText: string
        clientId: string
        clientSecret: string
        debug: false
        enabled: false
        idpId: string
        lambdaReconcileId: string
        linkingStrategy: string
        scope: string
        tenantConfigurations:
            - limitUserLinkCountEnabled: false
              limitUserLinkCountMaximumLinks: 0
              tenantId: string
    

    FusionAuthIdpXBox Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FusionAuthIdpXBox resource accepts the following input properties:

    ButtonText string
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    ClientId string
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    ClientSecret string
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    ApplicationConfigurations List<theogravity.Fusionauth.Inputs.FusionAuthIdpXBoxApplicationConfiguration>
    The configuration for each Application that the identity provider is enabled for.
    Debug bool
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    Enabled bool
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    IdpId string
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    LambdaReconcileId string
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    LinkingStrategy string
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    Scope string
    The top-level scope that you are requesting from Xbox.
    TenantConfigurations List<theogravity.Fusionauth.Inputs.FusionAuthIdpXBoxTenantConfiguration>
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    ButtonText string
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    ClientId string
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    ClientSecret string
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    ApplicationConfigurations []FusionAuthIdpXBoxApplicationConfigurationArgs
    The configuration for each Application that the identity provider is enabled for.
    Debug bool
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    Enabled bool
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    IdpId string
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    LambdaReconcileId string
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    LinkingStrategy string
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    Scope string
    The top-level scope that you are requesting from Xbox.
    TenantConfigurations []FusionAuthIdpXBoxTenantConfigurationArgs
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    buttonText String
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    clientId String
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    clientSecret String
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    applicationConfigurations List<FusionAuthIdpXBoxApplicationConfiguration>
    The configuration for each Application that the identity provider is enabled for.
    debug Boolean
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    enabled Boolean
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    idpId String
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    lambdaReconcileId String
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    linkingStrategy String
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    scope String
    The top-level scope that you are requesting from Xbox.
    tenantConfigurations List<FusionAuthIdpXBoxTenantConfiguration>
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    buttonText string
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    clientId string
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    clientSecret string
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    applicationConfigurations FusionAuthIdpXBoxApplicationConfiguration[]
    The configuration for each Application that the identity provider is enabled for.
    debug boolean
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    enabled boolean
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    idpId string
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    lambdaReconcileId string
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    linkingStrategy string
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    scope string
    The top-level scope that you are requesting from Xbox.
    tenantConfigurations FusionAuthIdpXBoxTenantConfiguration[]
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    button_text str
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    client_id str
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    client_secret str
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    application_configurations Sequence[FusionAuthIdpXBoxApplicationConfigurationArgs]
    The configuration for each Application that the identity provider is enabled for.
    debug bool
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    enabled bool
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    idp_id str
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    lambda_reconcile_id str
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    linking_strategy str
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    scope str
    The top-level scope that you are requesting from Xbox.
    tenant_configurations Sequence[FusionAuthIdpXBoxTenantConfigurationArgs]
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    buttonText String
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    clientId String
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    clientSecret String
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    applicationConfigurations List<Property Map>
    The configuration for each Application that the identity provider is enabled for.
    debug Boolean
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    enabled Boolean
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    idpId String
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    lambdaReconcileId String
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    linkingStrategy String
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    scope String
    The top-level scope that you are requesting from Xbox.
    tenantConfigurations List<Property Map>
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FusionAuthIdpXBox resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FusionAuthIdpXBox Resource

    Get an existing FusionAuthIdpXBox resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FusionAuthIdpXBoxState, opts?: CustomResourceOptions): FusionAuthIdpXBox
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_configurations: Optional[Sequence[FusionAuthIdpXBoxApplicationConfigurationArgs]] = None,
            button_text: Optional[str] = None,
            client_id: Optional[str] = None,
            client_secret: Optional[str] = None,
            debug: Optional[bool] = None,
            enabled: Optional[bool] = None,
            idp_id: Optional[str] = None,
            lambda_reconcile_id: Optional[str] = None,
            linking_strategy: Optional[str] = None,
            scope: Optional[str] = None,
            tenant_configurations: Optional[Sequence[FusionAuthIdpXBoxTenantConfigurationArgs]] = None) -> FusionAuthIdpXBox
    func GetFusionAuthIdpXBox(ctx *Context, name string, id IDInput, state *FusionAuthIdpXBoxState, opts ...ResourceOption) (*FusionAuthIdpXBox, error)
    public static FusionAuthIdpXBox Get(string name, Input<string> id, FusionAuthIdpXBoxState? state, CustomResourceOptions? opts = null)
    public static FusionAuthIdpXBox get(String name, Output<String> id, FusionAuthIdpXBoxState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApplicationConfigurations List<theogravity.Fusionauth.Inputs.FusionAuthIdpXBoxApplicationConfiguration>
    The configuration for each Application that the identity provider is enabled for.
    ButtonText string
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    ClientId string
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    ClientSecret string
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    Debug bool
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    Enabled bool
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    IdpId string
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    LambdaReconcileId string
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    LinkingStrategy string
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    Scope string
    The top-level scope that you are requesting from Xbox.
    TenantConfigurations List<theogravity.Fusionauth.Inputs.FusionAuthIdpXBoxTenantConfiguration>
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    ApplicationConfigurations []FusionAuthIdpXBoxApplicationConfigurationArgs
    The configuration for each Application that the identity provider is enabled for.
    ButtonText string
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    ClientId string
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    ClientSecret string
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    Debug bool
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    Enabled bool
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    IdpId string
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    LambdaReconcileId string
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    LinkingStrategy string
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    Scope string
    The top-level scope that you are requesting from Xbox.
    TenantConfigurations []FusionAuthIdpXBoxTenantConfigurationArgs
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    applicationConfigurations List<FusionAuthIdpXBoxApplicationConfiguration>
    The configuration for each Application that the identity provider is enabled for.
    buttonText String
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    clientId String
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    clientSecret String
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    debug Boolean
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    enabled Boolean
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    idpId String
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    lambdaReconcileId String
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    linkingStrategy String
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    scope String
    The top-level scope that you are requesting from Xbox.
    tenantConfigurations List<FusionAuthIdpXBoxTenantConfiguration>
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    applicationConfigurations FusionAuthIdpXBoxApplicationConfiguration[]
    The configuration for each Application that the identity provider is enabled for.
    buttonText string
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    clientId string
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    clientSecret string
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    debug boolean
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    enabled boolean
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    idpId string
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    lambdaReconcileId string
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    linkingStrategy string
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    scope string
    The top-level scope that you are requesting from Xbox.
    tenantConfigurations FusionAuthIdpXBoxTenantConfiguration[]
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    application_configurations Sequence[FusionAuthIdpXBoxApplicationConfigurationArgs]
    The configuration for each Application that the identity provider is enabled for.
    button_text str
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    client_id str
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    client_secret str
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    debug bool
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    enabled bool
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    idp_id str
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    lambda_reconcile_id str
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    linking_strategy str
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    scope str
    The top-level scope that you are requesting from Xbox.
    tenant_configurations Sequence[FusionAuthIdpXBoxTenantConfigurationArgs]
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.
    applicationConfigurations List<Property Map>
    The configuration for each Application that the identity provider is enabled for.
    buttonText String
    The top-level button text to use on the FusionAuth login page for this Identity Provider.
    clientId String
    TThe top-level Xbox client id for your Application. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    clientSecret String
    The top-level client secret to use with the Xbox Identity Provider when retrieving the long-lived token. This value is retrieved from the Xbox developer website when you setup your Xbox developer account.
    debug Boolean
    Determines if debug is enabled for this provider. When enabled, each time this provider is invoked to reconcile a login an Event Log will be created.
    enabled Boolean
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    idpId String
    The ID to use for the new identity provider. If not specified a secure random UUID will be generated.
    lambdaReconcileId String
    The unique Id of the lambda to used during the user reconcile process to map custom claims from the external identity provider to the FusionAuth user.
    linkingStrategy String
    The linking strategy to use when creating the link between the {idp_display_name} Identity Provider and the user.
    scope String
    The top-level scope that you are requesting from Xbox.
    tenantConfigurations List<Property Map>
    The configuration for each Tenant that limits the number of links a user may have for a particular identity provider.

    Supporting Types

    FusionAuthIdpXBoxApplicationConfiguration, FusionAuthIdpXBoxApplicationConfigurationArgs

    ApplicationId string
    ID of the Application to apply this configuration to.
    ButtonText string
    This is an optional Application specific override for the top level button text.
    ClientId string
    This is an optional Application specific override for the top level client_id.
    ClientSecret string
    This is an optional Application specific override for the top level client_secret.
    CreateRegistration bool
    Determines if a UserRegistration is created for the User automatically or not. If a user doesn’t exist in FusionAuth and logs in through an identity provider, this boolean controls whether or not FusionAuth creates a registration for the User in the Application they are logging into.
    Enabled bool
    Determines if this identity provider is enabled for the Application specified by the applicationId key.
    Scope string
    This is an optional Application specific override for the top level scope.
    ApplicationId string
    ID of the Application to apply this configuration to.
    ButtonText string
    This is an optional Application specific override for the top level button text.
    ClientId string
    This is an optional Application specific override for the top level client_id.
    ClientSecret string
    This is an optional Application specific override for the top level client_secret.
    CreateRegistration bool
    Determines if a UserRegistration is created for the User automatically or not. If a user doesn’t exist in FusionAuth and logs in through an identity provider, this boolean controls whether or not FusionAuth creates a registration for the User in the Application they are logging into.
    Enabled bool
    Determines if this identity provider is enabled for the Application specified by the applicationId key.
    Scope string
    This is an optional Application specific override for the top level scope.
    applicationId String
    ID of the Application to apply this configuration to.
    buttonText String
    This is an optional Application specific override for the top level button text.
    clientId String
    This is an optional Application specific override for the top level client_id.
    clientSecret String
    This is an optional Application specific override for the top level client_secret.
    createRegistration Boolean
    Determines if a UserRegistration is created for the User automatically or not. If a user doesn’t exist in FusionAuth and logs in through an identity provider, this boolean controls whether or not FusionAuth creates a registration for the User in the Application they are logging into.
    enabled Boolean
    Determines if this identity provider is enabled for the Application specified by the applicationId key.
    scope String
    This is an optional Application specific override for the top level scope.
    applicationId string
    ID of the Application to apply this configuration to.
    buttonText string
    This is an optional Application specific override for the top level button text.
    clientId string
    This is an optional Application specific override for the top level client_id.
    clientSecret string
    This is an optional Application specific override for the top level client_secret.
    createRegistration boolean
    Determines if a UserRegistration is created for the User automatically or not. If a user doesn’t exist in FusionAuth and logs in through an identity provider, this boolean controls whether or not FusionAuth creates a registration for the User in the Application they are logging into.
    enabled boolean
    Determines if this identity provider is enabled for the Application specified by the applicationId key.
    scope string
    This is an optional Application specific override for the top level scope.
    application_id str
    ID of the Application to apply this configuration to.
    button_text str
    This is an optional Application specific override for the top level button text.
    client_id str
    This is an optional Application specific override for the top level client_id.
    client_secret str
    This is an optional Application specific override for the top level client_secret.
    create_registration bool
    Determines if a UserRegistration is created for the User automatically or not. If a user doesn’t exist in FusionAuth and logs in through an identity provider, this boolean controls whether or not FusionAuth creates a registration for the User in the Application they are logging into.
    enabled bool
    Determines if this identity provider is enabled for the Application specified by the applicationId key.
    scope str
    This is an optional Application specific override for the top level scope.
    applicationId String
    ID of the Application to apply this configuration to.
    buttonText String
    This is an optional Application specific override for the top level button text.
    clientId String
    This is an optional Application specific override for the top level client_id.
    clientSecret String
    This is an optional Application specific override for the top level client_secret.
    createRegistration Boolean
    Determines if a UserRegistration is created for the User automatically or not. If a user doesn’t exist in FusionAuth and logs in through an identity provider, this boolean controls whether or not FusionAuth creates a registration for the User in the Application they are logging into.
    enabled Boolean
    Determines if this identity provider is enabled for the Application specified by the applicationId key.
    scope String
    This is an optional Application specific override for the top level scope.

    FusionAuthIdpXBoxTenantConfiguration, FusionAuthIdpXBoxTenantConfigurationArgs

    LimitUserLinkCountEnabled bool
    When enabled, the number of identity provider links a user may create is enforced by maximumLinks.
    LimitUserLinkCountMaximumLinks int
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    TenantId string
    The unique Id of the tenant that this configuration applies to.
    LimitUserLinkCountEnabled bool
    When enabled, the number of identity provider links a user may create is enforced by maximumLinks.
    LimitUserLinkCountMaximumLinks int
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    TenantId string
    The unique Id of the tenant that this configuration applies to.
    limitUserLinkCountEnabled Boolean
    When enabled, the number of identity provider links a user may create is enforced by maximumLinks.
    limitUserLinkCountMaximumLinks Integer
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    tenantId String
    The unique Id of the tenant that this configuration applies to.
    limitUserLinkCountEnabled boolean
    When enabled, the number of identity provider links a user may create is enforced by maximumLinks.
    limitUserLinkCountMaximumLinks number
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    tenantId string
    The unique Id of the tenant that this configuration applies to.
    limit_user_link_count_enabled bool
    When enabled, the number of identity provider links a user may create is enforced by maximumLinks.
    limit_user_link_count_maximum_links int
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    tenant_id str
    The unique Id of the tenant that this configuration applies to.
    limitUserLinkCountEnabled Boolean
    When enabled, the number of identity provider links a user may create is enforced by maximumLinks.
    limitUserLinkCountMaximumLinks Number
    Determines if this provider is enabled. If it is false then it will be disabled globally.
    tenantId String
    The unique Id of the tenant that this configuration applies to.

    Package Details

    Repository
    fusionauth theogravity/pulumi-fusionauth
    License
    MIT
    Notes
    This Pulumi package is based on the fusionauth Terraform Provider.
    fusionauth logo
    FusionAuth v5.0.4 published on Tuesday, Jul 9, 2024 by Theo Gravity