sector identifier, initiate login, and post logout URIs ; reuse refresh tokens

pull/306/merge
Justin Richer 2013-03-05 14:44:40 -05:00
parent 23bd6a2ffb
commit ff53d71e6f
2 changed files with 19 additions and 4 deletions

View File

@ -393,13 +393,16 @@ var ClientFormView = Backbone.View.extend({
subjectType: $('#applicationType input').filter(':checked').val(),
tokenEndpointAuthMethod: $('#tokenEndpointAuthMethod input').filter(':checked').val(),
responseTypes: responseTypes,
sectorIdentifierUri: $('#sectorIdentifierUri input').val(),
initiateLoginUri: $('#initiateLoginUri input').val(),
postLogoutRedirectUri: $('#postLogoutRedirectUri input').val(),
reuseRefreshToken: $('#reuseRefreshToken').is(':checked') // TODO: another funny checkbox
// TODO: everything below this line isn't implemented yet
/*
contacts: this.contactsCollection.pluck('item'),
sectorIdentifierUri: $('#sectorIdentifierUri input').val(),
requestObjectSigningAlg: requestObjectSigningAlg, // TODO: need a preprocessor for all the JOSE stuff:
userInfoEncryptedResponseAlg: userInfoEncryptedResponseAlg, // "
userInfoEncryptedResponseEnc: userInfoEncryptedResponseEnc, // "
@ -409,11 +412,8 @@ var ClientFormView = Backbone.View.extend({
defaultMaxAge: $('#defaultMaxAge input').val(), // TODO: validate integer
requireAuthTime: $('#requireAuthTime input').is(':checked'),
defaultAcrValues: this.defaultAcrValuesCollection.pluck('item'),
initiateLoginUri: $('#initiateLoginUri input').val(),
postLogoutRedirectUri: $('#postLogoutRedirectUri input').val(),
requestUris: this.requestUrisCollection.pluck('item'),
resourceIds: this.resourceIdsCollection.pluck('item'),
reuseRefreshToken: $('#reuseRefreshToken input').is(':checked')
*/
});

View File

@ -396,6 +396,21 @@
</div>
</div>
<div class="control-group" id="initiateLoginUri">
<label class="control-label">Initiate Login</label>
<div class="controls">
<input placeholder="http://" value="<%=initiateLoginUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">URL to initiate login on the client</p>
</div>
</div>
<div class="control-group" id="postLogoutRedirectUri">
<label class="control-label">Post-Logout Redirect</label>
<div class="controls">
<input placeholder="http://" value="<%=postLogoutRedirectUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">URL to redirect the client to after a logout operation</p>
</div>
</div>
</div>