public interface CNIdentity
Modifier and Type | Method and Description |
---|---|
boolean |
confirmMapIdentity(Session session,
Subject subject) |
Subject |
createGroup(Session session,
Group group) |
boolean |
denyMapIdentity(Session session,
Subject subject) |
SubjectInfo |
getPendingMapIdentity(Session session,
Subject subject) |
SubjectInfo |
getSubjectInfo(Session session,
Subject subject) |
SubjectInfo |
listSubjects(Session session,
String query,
String status,
Integer start,
Integer count) |
boolean |
mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject) |
Subject |
registerAccount(Session session,
Person person) |
boolean |
removeMapIdentity(Session session,
Subject subject) |
boolean |
requestMapIdentity(Session session,
Subject subject) |
Subject |
updateAccount(Session session,
Person person) |
boolean |
updateGroup(Session session,
Group group) |
boolean |
verifyAccount(Session session,
Subject subject) |
Subject registerAccount(Session session, Person person) throws ServiceFailure, NotAuthorized, IdentifierNotUnique, InvalidCredentials, NotImplemented, InvalidRequest, InvalidToken
ServiceFailure
NotAuthorized
IdentifierNotUnique
InvalidCredentials
NotImplemented
InvalidRequest
InvalidToken
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.registerAccount
Subject updateAccount(Session session, Person person) throws ServiceFailure, NotAuthorized, InvalidCredentials, NotImplemented, InvalidRequest, InvalidToken, NotFound
ServiceFailure
NotAuthorized
InvalidCredentials
NotImplemented
InvalidRequest
InvalidToken
NotFound
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.updateAccount
boolean verifyAccount(Session session, Subject subject) throws ServiceFailure, NotAuthorized, NotImplemented, InvalidToken, InvalidRequest, NotFound
ServiceFailure
NotAuthorized
NotImplemented
InvalidToken
InvalidRequest
NotFound
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.verifyAccount
SubjectInfo getSubjectInfo(Session session, Subject subject) throws ServiceFailure, NotAuthorized, NotImplemented, NotFound, InvalidToken
ServiceFailure
NotAuthorized
NotImplemented
NotFound
InvalidToken
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.getSubjectInfo
SubjectInfo listSubjects(Session session, String query, String status, Integer start, Integer count) throws InvalidRequest, ServiceFailure, InvalidToken, NotAuthorized, NotImplemented
InvalidRequest
ServiceFailure
InvalidToken
NotAuthorized
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.listSubjects
boolean mapIdentity(Session session, Subject primarySubject, Subject secondarySubject) throws ServiceFailure, InvalidToken, NotAuthorized, NotFound, NotImplemented, InvalidRequest, IdentifierNotUnique
ServiceFailure
InvalidToken
NotAuthorized
NotFound
NotImplemented
InvalidRequest
IdentifierNotUnique
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.mapIdentity
boolean requestMapIdentity(Session session, Subject subject) throws ServiceFailure, InvalidToken, NotAuthorized, NotFound, NotImplemented, InvalidRequest, IdentifierNotUnique
ServiceFailure
InvalidToken
NotAuthorized
NotFound
NotImplemented
InvalidRequest
IdentifierNotUnique
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.requestMapIdentity
boolean confirmMapIdentity(Session session, Subject subject) throws ServiceFailure, InvalidToken, NotAuthorized, NotFound, NotImplemented
ServiceFailure
InvalidToken
NotAuthorized
NotFound
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.confirmMapIdentity
SubjectInfo getPendingMapIdentity(Session session, Subject subject) throws ServiceFailure, InvalidToken, NotAuthorized, NotFound, NotImplemented
ServiceFailure
InvalidToken
NotAuthorized
NotFound
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.getPendingMapIdentity
boolean denyMapIdentity(Session session, Subject subject) throws ServiceFailure, InvalidToken, NotAuthorized, NotFound, NotImplemented
ServiceFailure
InvalidToken
NotAuthorized
NotFound
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.denyMapIdentity
boolean removeMapIdentity(Session session, Subject subject) throws ServiceFailure, InvalidToken, NotAuthorized, NotFound, NotImplemented
ServiceFailure
InvalidToken
NotAuthorized
NotFound
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.removeMapIdentity
Subject createGroup(Session session, Group group) throws ServiceFailure, InvalidToken, NotAuthorized, NotImplemented, IdentifierNotUnique, InvalidRequest
ServiceFailure
InvalidToken
NotAuthorized
NotImplemented
IdentifierNotUnique
InvalidRequest
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.createGroup
boolean updateGroup(Session session, Group group) throws ServiceFailure, InvalidToken, NotAuthorized, NotFound, NotImplemented, InvalidRequest
ServiceFailure
InvalidToken
NotAuthorized
NotFound
NotImplemented
InvalidRequest
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNIdentity.updateGroup
Copyright © 2020. All Rights Reserved.