Package | Description |
---|---|
org.sagebionetworks.bridge.rest | |
org.sagebionetworks.bridge.rest.api | |
org.sagebionetworks.bridge.rest.exceptions |
Modifier and Type | Method and Description |
---|---|
UserSessionInfo |
UserSessionInfoProvider.getSession() |
UserSessionInfo |
ClientManager.getSessionOfClients() |
static UserSessionInfo |
UserSessionInfoProvider.mergeReauthToken(UserSessionInfo previousSession,
UserSessionInfo session)
The server is only guaranteed to send the reauth token on sign in, it is not sent in all UserSessionInfo
responses for security reasons.
|
UserSessionInfo |
UserSessionInfoProvider.retrieveSession()
Retrieves a session.
|
static UserSessionInfo |
RestUtils.signInWithSynapse(AuthenticationApi authApi,
SignIn signIn)
Sign in to the Synapse server using a Synapse account, and use this to authenticate with Bridge via OAuth.
|
static UserSessionInfo |
RestUtils.signInWithSynapseDev(AuthenticationApi authApi,
SignIn signIn)
Sign in to Bridge using Synapse Dev.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
RestUtils.isConsentCurrent(UserSessionInfo session)
Are all the required consents up-to-date?
|
static boolean |
RestUtils.isUserConsented(UserSessionInfo session)
Are all required consents signed?
|
static UserSessionInfo |
UserSessionInfoProvider.mergeReauthToken(UserSessionInfo previousSession,
UserSessionInfo session)
The server is only guaranteed to send the reauth token on sign in, it is not sent in all UserSessionInfo
responses for security reasons.
|
void |
UserSessionInfoProvider.UserSessionInfoChangeListener.onChange(UserSessionInfo userSessionInfo) |
ApiClientProvider.AuthenticatedClientProviderBuilder |
ApiClientProvider.AuthenticatedClientProviderBuilder.withSession(UserSessionInfo session) |
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<UserSessionInfo> |
ForSuperadminsApi.adminSignIn(SignIn signIn)
Sign in using an administrative account.
|
retrofit2.Call<UserSessionInfo> |
AppsApi.changeApp(SignIn signIn)
Change the app currently associate with the signed in caller's session.
|
retrofit2.Call<UserSessionInfo> |
AuthenticationApi.changeApp(SignIn signIn)
Change the app currently associate with the signed in caller's session.
|
retrofit2.Call<UserSessionInfo> |
ForConsentedUsersApi.createConsentSignature(String subpopulationGuid,
ConsentSignature consentSignature)
Consent to this subpopulation by submitting a signature
Agree to the terms of participant represented by this subpopulation, by submitting a signature to the Bridge server.
|
retrofit2.Call<UserSessionInfo> |
ConsentsApi.createConsentSignature(String subpopulationGuid,
ConsentSignature consentSignature)
Consent to this subpopulation by submitting a signature
Agree to the terms of participant represented by this subpopulation, by submitting a signature to the Bridge server.
|
retrofit2.Call<UserSessionInfo> |
ForAdminsApi.createUser(SignUp signUp)
Create a new user
|
retrofit2.Call<UserSessionInfo> |
AuthenticationApi.reauthenticate(SignIn signIn)
Using the reauthentication token supplied with a new session, request a new session from the server.
|
retrofit2.Call<UserSessionInfo> |
AuthenticationApi.signIn(SignIn signIn)
Send user credentials to authenticate with the Bridge server.
|
retrofit2.Call<UserSessionInfo> |
AuthenticationApi.signInV4(SignIn signIn)
Send user credentials to authenticate with the Bridge server.
|
retrofit2.Call<UserSessionInfo> |
AuthenticationApi.signInViaEmail(EmailSignIn emailSignIn)
Does not require authentication.
|
retrofit2.Call<UserSessionInfo> |
AuthenticationApi.signInViaPhone(PhoneSignIn phoneSignIn)
Does not require authentication.
|
retrofit2.Call<UserSessionInfo> |
AuthenticationApi.signInWithOauthToken(OAuthAuthorizationToken oauthAuthorizationToken)
Does not require authentication.
|
retrofit2.Call<UserSessionInfo> |
ForOrgAdminsApi.updateIdentifiersForSelf(IdentifierUpdate updateIdentifier)
Allows the caller to add additional identifier fields to their own account (email, phone).
|
retrofit2.Call<UserSessionInfo> |
AccountsApi.updateIdentifiersForSelf(IdentifierUpdate updateIdentifier)
Allows the caller to add additional identifier fields to their own account (email, phone).
|
retrofit2.Call<UserSessionInfo> |
ForConsentedUsersApi.updateUsersIdentifiers(IdentifierUpdate updateIdentifier)
Allows the caller to add additional identifier fields to an account (email, phone).
|
retrofit2.Call<UserSessionInfo> |
ParticipantsApi.updateUsersIdentifiers(IdentifierUpdate updateIdentifier)
Allows the caller to add additional identifier fields to an account (email, phone).
|
retrofit2.Call<UserSessionInfo> |
ForConsentedUsersApi.updateUsersParticipantRecord(StudyParticipant studyParticipant)
Update user's participant record
Update the current user's participant record.
|
retrofit2.Call<UserSessionInfo> |
ParticipantsApi.updateUsersParticipantRecord(StudyParticipant studyParticipant)
Update user's participant record
Update the current user's participant record.
|
retrofit2.Call<UserSessionInfo> |
ForConsentedUsersApi.withdrawConsentFromSubpopulation(String subpopulationGuid,
Withdrawal withdrawal)
Withdraw participant from this subpopulation consent group
This withdraws the user from only one subpopulation.
|
retrofit2.Call<UserSessionInfo> |
ConsentsApi.withdrawConsentFromSubpopulation(String subpopulationGuid,
Withdrawal withdrawal)
Withdraw participant from this subpopulation consent group
This withdraws the user from only one subpopulation.
|
Modifier and Type | Method and Description |
---|---|
UserSessionInfo |
ConsentRequiredException.getSession() |
Constructor and Description |
---|
ConsentRequiredException(String message,
String endpoint,
UserSessionInfo session) |
Copyright © 2023 Sage Bionetworks. All rights reserved.