Editar

Compartir a través de


New-AdfsSamlEndpoint

Creates a SAML protocol endpoint object.

Syntax

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

Description

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

Examples

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

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

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.

Parameters

-Binding

Specifies the binding type of the endpoint. The acceptable values for this parameter are: POST, SOAP, Artifact, and Redirect.

Type:String
Accepted values:Artifact, POST, Redirect, SOAP
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Index

Specifies the index that is defined for this endpoint.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IsDefault

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

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Protocol

Specifies the type of service at the endpoint. The acceptable values for this parameter are: SAMLSingleSignOn, SAMLArtifactResolution, SAMLLogout, and SAMLAssertionConsumer.

Type:String
Accepted values:SAMLArtifactResolution, SAMLAssertionConsumer, SAMLLogout, SAMLSingleSignOn
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResponseUri

Specifies the response URI for the endpoint.

Type:Uri
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Uri

Specifies the URI of this endpoint.

Type:Uri
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.IdentityServer.PowerShell.Resources.SamlEndpoint

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

Notes

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