# Saml2ServiceProviderAuthenticationModuleType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

SAML2 authentication module, service provider configuration.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
entityId | property string | [1,1] | Unique identifier of the service provider.
alias | property string | [0,1] | Unique alias used to identify the selected local service provider based on used URL.
aliasForPath | property string | [0,1] | Alias used for AssertionConsumerServiceURL.
defaultSigningAlgorithm | property Saml2SigningAlgorithmAuthenticationModuleType | [0,1] | Default signing algorithm.
signRequests | property boolean | [0,1] | Flag indicating whether this service signs authentication requests.
keys | container Saml2KeyAuthenticationModuleType | [0,1] | Key used by service provider.
identityProvider | container Saml2ProviderAuthenticationModuleType | [1,1] | Possible identity providers for this service provider.

- ### Items

  - #### entityId

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Unique identifier of the service provider.

  - #### alias

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Unique alias used to identify the selected local service provider based on used URL.

  - #### aliasForPath

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Alias used for AssertionConsumerServiceURL.

  - #### defaultSigningAlgorithm

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,1]

    Display order:

    Default signing algorithm. Default is RSA_SHA256.

  - #### signRequests

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Flag indicating whether this service signs authentication requests.

  - #### keys

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Key used by service provider.

  - #### identityProvider

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Possible identity providers for this service provider.