New-AdfsSamlEndpoint

New-AdfsSamlEndpoint

Creates a SAML protocol endpoint object.

Sintaxis

Parameter Set: Default
New-AdfsSamlEndpoint -Binding <String> -Protocol <String> -Uri <Uri> [-Index <Int32> ] [-IsDefault <Boolean> ] [-ResponseUri <Uri> ] [ <CommonParameters>]

Descripción detallada

The New-AdfsSamlEndpoint cmdlet creates a Security Assertion Markup Language (SAML) protocol endpoint object.

Parámetros

-Binding<String>

Specifies the binding type of the endpoint. Los valores aceptables para este parámetro son los siguientes: POST, SOAP, Artifact, and Redirect.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Index<Int32>

Specifies the index that is defined for this endpoint.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-IsDefault<Boolean>

Indicates whether this is a default endpoint for the particular protocol type.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Protocol<String>

Specifies the type of service at the endpoint. Los valores aceptables para este parámetro son los siguientes: SAMLSingleSignOn, SAMLArtifactResolution, SAMLLogout, and SAMLAssertionConsumer.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ResponseUri<Uri>

Specifies the response URI for the endpoint.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Uri<Uri>

Specifies the URI of this endpoint.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • None

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.IdentityServer.PowerShell.Resources.SamlEndpoint

    This cmdlet generates a class structure that represents a SAML endpoint resource object.

Notas

  • You can associate this object with a relying party trust or claims provider trust by using the corresponding cmdlets.

Ejemplos

Example 1: Create a SAML endpoint and assign it to a relying party

The first command creates a SAML endpoint, and then stores it in the $EP variable.

The second command uses the Set-AdfsRelyingPartyTrust cmdlet to assign the endpoint stored in $EP to a relying party trust named My application.

PS C:\> $EP = New-AdfsSamlEndpoint -Binding "POST" -Protocol "SAMLAssertionConsumer" -Uri "https://fabrikam.com/saml/ac"
PS C:\> Set-AdfsRelyingPartyTrust -Name "My application" -SamlEndpoint $EP

Temas relacionados

Get-AdfsClaimsProviderTrust

Get-AdfsRelyingPartyTrust

Get-AdfsRelyingPartyTrust

Set-AdfsClaimsProviderTrust

Set-AdfsRelyingPartyTrust

Update-AdfsClaimsProviderTrust

Update-AdfsRelyingPartyTrust