Fixed client error: added all client fields to model in client.js; lined them up with the fields in ClientDetailsEntity.java for easier comparison
parent
36b08dcd6e
commit
5704271973
|
@ -17,23 +17,62 @@ var ClientModel = Backbone.Model.extend({
|
||||||
// We can pass it default values.
|
// We can pass it default values.
|
||||||
defaults:{
|
defaults:{
|
||||||
id:null,
|
id:null,
|
||||||
idTokenValiditySeconds: 600,
|
|
||||||
clientName:null,
|
clientId:"",
|
||||||
clientSecret:"",
|
clientSecret:"",
|
||||||
redirectUris:[],
|
redirectUris:[],
|
||||||
grantTypes:["authorization_code"],
|
clientName:null,
|
||||||
scope:[],
|
clientUri:"",
|
||||||
authorities:[],
|
|
||||||
clientDescription:"",
|
|
||||||
logoUri:"",
|
logoUri:"",
|
||||||
clientId:"",
|
contacts:[],
|
||||||
allowRefresh:false,
|
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:[],
|
||||||
accessTokenValiditySeconds: 3600,
|
accessTokenValiditySeconds: 3600,
|
||||||
refreshTokenValiditySeconds: 604800,
|
refreshTokenValiditySeconds: 604800,
|
||||||
|
resourceIds:[],
|
||||||
|
//additionalInformation?
|
||||||
|
|
||||||
|
clientDescription:"",
|
||||||
|
reuseRefreshToken:true,
|
||||||
|
dynamicallyRegistered:false,
|
||||||
|
allowIntrospection:false,
|
||||||
|
idTokenValiditySeconds: 600,
|
||||||
|
createdAt:null,
|
||||||
|
|
||||||
|
allowRefresh:false,
|
||||||
displayClientSecret: false,
|
displayClientSecret: false,
|
||||||
generateClientSecret: false,
|
generateClientSecret: false,
|
||||||
requireClientSecret: true,
|
requireClientSecret: true,
|
||||||
allowIntrospection: false
|
|
||||||
},
|
},
|
||||||
|
|
||||||
urlRoot:"api/clients"
|
urlRoot:"api/clients"
|
||||||
|
|
Loading…
Reference in New Issue