Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Org.eclipse.higgins.icard"
(→I-Card Interface) |
(→I-Card Interface) |
||
Line 1: | Line 1: | ||
===I-Card Interface=== | ===I-Card Interface=== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// Return the human friendly name of the card | // Return the human friendly name of the card | ||
Line 24: | Line 15: | ||
// Return true if this card handles only simple claim types | // Return true if this card handles only simple claim types | ||
boolean hasSimpleClaims() | boolean hasSimpleClaims() | ||
+ | |||
+ | // Return when the card was first issued | ||
+ | Datetime getTimeIssued() | ||
+ | |||
+ | // Return the date and time after which the card should be | ||
+ | // treated as expired and invalid. If there is no expiration | ||
+ | // date/time then return null? throw exception? | ||
+ | Datetime getTimeExpires() | ||
// If card handles only simple claim types then | // If card handles only simple claim types then | ||
Line 40: | Line 39: | ||
boolean isMatch(Policy) | boolean isMatch(Policy) | ||
− | + | ====Misc==== | |
− | String getUUID() | + | * String getUUID() |
− | + | * String getVersion() | |
− | String getVersion() | + | |
Line 59: | Line 57: | ||
* Credential used to authenticate to the Token Issuer–-may be null if Token Issuer policy doesn’t require it | * Credential used to authenticate to the Token Issuer–-may be null if Token Issuer policy doesn’t require it | ||
− | + | ||
String getTimeExpires() | String getTimeExpires() |
Revision as of 23:41, 27 October 2006
I-Card Interface
// Return the human friendly name of the card String getCardName() // Return the human friendly name of the card issuer (creator) String getIssuerName() // Return a background image of the card Image getCardImage() // Return the mime type of the background image (JPEG or GIF) String getImageMimeType() // Return true if this card handles only simple claim types boolean hasSimpleClaims() // Return when the card was first issued Datetime getTimeIssued()
// Return the date and time after which the card should be // treated as expired and invalid. If there is no expiration // date/time then return null? throw exception? Datetime getTimeExpires() // If card handles only simple claim types then // return a list of all possible types of claims that are supported // throw exception otherwise Iterable<String> getSupportedSimpleClaimTypes() // If card handles complex claim types then // return an OWL-DL schema describing types of complex claim // objects that are supported String getSupportedComplexClaimTypes() // Given a relying party policy Policy, return true // if this card can provide the claims required/desired by the relying party // else return false boolean isMatch(Policy)
Misc
- String getUUID()
- String getVersion()
EndpointReference getICardIssuerEndpoint()
DigitalIdentity requestDigitalIdentity(Policy, DigitalIdentity credential)
- Credential used to authenticate to the Token Issuer–-may be null if Token Issuer policy doesn’t require it
String getTimeExpires()
Iterable<TokenService> getTokenServices()
- endpoint references, credential hint, credential selector
getPolicy() – list of supported token types, supported claims
boolean getRequireAppliesTo()
- Is the RP identity required in the token request message?
ReleasePolicy getReleasePolicy()