Register-AdfsAuthenticationProvider

Register-AdfsAuthenticationProvider

Registers an external authentication provider in AD FS.

Syntaxe

Parameter Set: Default
Register-AdfsAuthenticationProvider -Name <String> -TypeName <String> [-ConfigurationFilePath <String> ] [ <CommonParameters>]

Description détaillée

The Register-AdfsAuthenticationProvider cmdlet registers an external authentication provider as a provider in services de fédération Active Directory (AD FS). Use the Get-AdfsAuthenticationProvider cmdlet to get a list of registered authentication providers.

Paramètres

-ConfigurationFilePath<String>

Specifies the fully qualified file path of a file that contains authentication provider configuration data.

You can also upload the file to the services de fédération Active Directory (AD FS) configuration store and make it available to the authentication provider. Use this method if you want to provide additional information that pertains to a specific customer when you initialize the authentication provider. Any usage of this method is specific to the vendor that supplies the authentication provider.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Name<String>

Specifies the name of an authentication provider to register in AD FS.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-TypeName<String>

Specifies the fully qualified type of the authentication provider assembly on the federation server.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • System.Object

Exemples

Example 1: Register an authentication provider

The first command creates a variable named $TypeName that contains the configuration data for an external provider.

The second command registers the authentication provider by using the data stored in the $TypeName variable.

PS C:\> $TypeName = "ExternalAuthMethod.ExternalAuthProvider, ExternalAuthProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=365143bb27e7ac8b, processorArchitecture=MSIL"
PS C:\> Register-AdfsAuthenticationProvider -TypeName $TypeName -Name "MyExternalAuthProvider" -ConfigurationFilePath ".\configdata.txt"

Rubriques connexes

Get-AdfsAuthenticationProvider

Unregister-AdfsAuthenticationProvider