New-ADFSSamlEndpoint
New-ADFSSamlEndpoint
Creates a new SAML protocol endpoint object.
Syntax
Parameter Set: Default
New-ADFSSamlEndpoint -Binding <String> -Protocol <String> -Uri <Uri> [-Index <Int32> ] [-IsDefault <Boolean> ] [-ResponseUri <Uri> ] [ <CommonParameters>]
Detailed Description
The New-ADFSSamlEndpoint cmdlet creates a new SAML protocol endpoint object.
Parameters
-Binding<String>
Specifies the binding type of the endpoint. The possible binding types are POST, SOAP, Artifact, and Redirect.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Index<Int32>
Specifies the index that is defined for this endpoint.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-IsDefault<Boolean>
Specifies that this is a default endpoint for the particular protocol type.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Protocol<String>
Specifies the type of service at the endpoint. The possible values are SAMLSingleSignOn, SAMLArtifactResolution, SAMLLogout, and SAMLAssertionConsumer.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ResponseUri<Uri>
Specifies the response URI for the endpoint.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Uri<Uri>
Specifies the URI of this endpoint.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- None
Outputs
The output type is the type of the objects that the cmdlet emits.
Microsoft.IdentityServer.PowerShell.Resources.SamlEndpoint
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.
Examples
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
Creates a new SAML endpoint and assigns it to a relying party trust named "My application".
C:\PS>$ep = New-ADFSSamlEndpoint -Binding "POST" -Protocol "SAMLAssertionConsumer" -Uri "https://fabrikam.com/saml/ac"
Set-ADFSRelyingPartyTrust -Name "My application" -SamlEndpoint $ep
Related topics
Get-ADFSClaimsProviderTrust
Get-ADFSRelyingPartyTrust
Set-ADFSClaimsProviderTrust
Set-ADFSRelyingPartyTrust
Update-ADFSClaimsProviderTrust
Update-ADFSRelyingPartyTrust