<<-EOS
mutation CreateSAMLServiceProvider($name: String!, $domain: String!, $clientId: String!, $redirectUrl: String!, $description: String, $SPMetadata: String, $IdPMetadata: String, $image: String, $mappings: AssertionMapInputType, $defaultIdPMapId: String){
CreateSAMLServiceProvider(name: $name, domain: $domain, clientId: $clientId, redirectUrl: $redirectUrl, description: $description, SPMetadata: $SPMetadata, IdPMetadata: $IdPMetadata, image: $image, mappings: $mappings, defaultIdPMapId: $defaultIdPMapId){
_id
name
domain
image
appSecret
defaultIdPMap{
_id
name
image
description
isDeleted
}
defaultIdPMapId
appId
clientId
description
isDeleted
enabled
when
SPMetadata
IdPMetadata
IdPEntityID
assertionConsumeService{
binding
url
isDefault
}
mappings{
username
nickname
photo
company
providerName
email
}
redirectUrl
loginUrl
logoutUrl
nameId
enableSignRes
resSignPublicKey
hasResEncrypted
resEncryptAlgorithm
resAbstractAlgorithm
resDecryptPrivateKey
resDecryptPrivateKeyPass
resEncryptPublicKey
enableSignReq
reqSignAlgorithm
reqAbstractAlgorithm
reqSignPrivateKey
reqSignPrivateKeyPass
reqSignPublicKey
SPUrl
}
}
EOS