Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "I-Card Registry API"
(→I-Card Provider Interface) |
m (→I-Card Provider Interface) |
||
Line 18: | Line 18: | ||
===I-Card Provider Interface=== | ===I-Card Provider Interface=== | ||
+ | |||
+ | The following is a rough set of methods. We need to comb through this and decide which are required methods for the base interface (proposed name = ICardContext) and which (if any) are CardSpace-specific and should be moved to a separate sub-interface (e.g. ICardSpaceCardContext). | ||
String getDisplayName() | String getDisplayName() |
Revision as of 10:26, 16 October 2006
The I-Card Registry is a thin layer over a set of I-Card Providers
The I-Card Registry API has two parts:
- An API to add an i-card, remove and i-card and iterators to walk through the list of i-cards.
- A set of interfaces that are implemented by each I-Card Provider
I-Card Registry Interface
Iterable<ICardRef> getICards()
createICard()
deleteICard()
importICard()
exportICard()
I-Card Provider Interface
The following is a rough set of methods. We need to comb through this and decide which are required methods for the base interface (proposed name = ICardContext) and which (if any) are CardSpace-specific and should be moved to a separate sub-interface (e.g. ICardSpaceCardContext).
String getDisplayName()
String getUUID()
String getVersion()
String getXMLLanguage()
Image getImage()
String getImageMimeType()
boolean isMatch(Policy)
Iterable<String> getSupportedClaimTypes()
- List of all possible types of claims that may be returned in a token.
String getICardIssuerName()
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 getTimeIssued()
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()