Fixed client error: added all client fields to model in client.js; lined them up with the fields in ClientDetailsEntity.java for easier comparison

pull/306/merge
Amanda Anganes 12 years ago
parent 36b08dcd6e
commit 5704271973

@ -17,23 +17,62 @@ var ClientModel = Backbone.Model.extend({
// We can pass it default values.
defaults:{
id:null,
idTokenValiditySeconds: 600,
clientName:null,
clientId:"",
clientSecret:"",
redirectUris:[],
grantTypes:["authorization_code"],
clientName:null,
clientUri:"",
logoUri:"",
contacts:[],
tosUri:"",
tokenEndpointAuthMethod:null,
scope:[],
grantTypes:["authorization_code"],
responseTypes:[],
policyUri:"",
jwksUri:"",
applicationType:null,
sectorIdentifierUri:"",
subjectType:null,
requestObjectSigningAlg:null,
userInfoSignedResponseAlg:null,
userInfoEncryptedResponseAlg:null,
userInfoEncryptedResponseEnc:null,
idTokenSignedResponseAlg:null,
idTokenEncryptedResponseAlg:null,
idTokenEncryptedResponseEnc:null,
defaultMaxAge:60000,
requireAuthTime:false,
defaultACRvalues:null,
initiateLoginUri:"",
postLogoutRedirectUri:"",
requestUris:[],
authorities:[],
clientDescription:"",
logoUri:"",
clientId:"",
allowRefresh:false,
accessTokenValiditySeconds: 3600,
refreshTokenValiditySeconds: 604800,
resourceIds:[],
//additionalInformation?
clientDescription:"",
reuseRefreshToken:true,
dynamicallyRegistered:false,
allowIntrospection:false,
idTokenValiditySeconds: 600,
createdAt:null,
allowRefresh:false,
displayClientSecret: false,
generateClientSecret: false,
requireClientSecret: true,
allowIntrospection: false
},
urlRoot:"api/clients"

Loading…
Cancel
Save