Repository URL to install this package:
|
Version:
1.0.17 ▾
|
io.gs2.unity.weave.credential
/
template.json
|
|---|
{
"GS2TemplateFormatVersion": "2019-05-01",
"Description": "GS2 SDK identifier template Version 2019-07-10",
"Globals": {
"Alias": {
"ApplicationUserName": "${Gs2::Weave::ApplicationUserName}"
}
},
"Resources": {
"IdentifierApplicationUser": {
"Type": "GS2::Identifier::User",
"Properties": {
"Name": "${ApplicationUserName}"
}
},
"IdentifierApplicationUserAttachPolicy": {
"Type": "GS2::Identifier::AttachSecurityPolicy",
"Properties": {
"UserName": "${ApplicationUserName}",
"SecurityPolicyId": "grn:gs2::system:identifier:securityPolicy:ApplicationAccess"
},
"DependsOn": [
"IdentifierApplicationUser"
]
},
"IdentifierApplicationIdentifier": {
"Type": "GS2::Identifier::Identifier",
"Properties": {
"UserName": "${ApplicationUserName}"
},
"DependsOn": [
"IdentifierApplicationUser"
]
}
},
"Outputs": {
"ApplicationUserName": "${ApplicationUserName}",
"ApplicationClientId": {
"!GetAttr": "IdentifierApplicationIdentifier.Item.ClientId"
},
"ApplicationClientSecret": {
"!GetAttr": "IdentifierApplicationIdentifier.ClientSecret"
}
}
}