Skip to content

Commit

Permalink
Merge pull request #17 from mytestbed/master
Browse files Browse the repository at this point in the history
[DOC] Add notes regarding index.php and no pop-up.
  • Loading branch information
duerig committed Aug 11, 2014
2 parents 29bc724 + d2fdfb4 commit af93064
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,24 @@ Parameters:

Returns: The authorization window

## Alternative Tool API Without Pop Up Window

Alternatively, a simple PHP page index.php accepts HTTP POST from your tool client and renders the authorisation window interface. Upon user completes the authorisation process, it will redirect back to your tool client tool with a proper speaks-for credential attached. This work flow will eliminate the authorisation being launched via a pop up window.

### POST to index.php

Parameters

- *tool_id:* Identifier of the tool
- *backto:* URL that tool would receive speaks-for credential upon successful authorisation.
- *tool_cert:* PEM-encoded certificate of the tool.

### Accept POST in 'backto'

Parameters

- *data_credential:* Speaks-for credential generated upon successful authorisation.

## Member Authority API ##

Member Authorities may optionally present a web interface that lets
Expand Down

0 comments on commit af93064

Please sign in to comment.