Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
> **LoginRadius Java SDK Change Log** provides information regarding what has changed, more specifically what changes, improvements and bug fix has been made to the SDK. For more details please refer to the [LoginRadius API Documention(https://www.loginradius.com/docs/api/v2/deployment/sdk-libraries/java-library/)

# Version 11.0.0
Released on **Aug 21, 2020**

## Enhancements

- Added a parameter isWeb in "RefreshAccessToken" API.
- Added a parameter SocialAppName in "getAccessTokenByFacebookAccessToken, getAccessTokenByTwitterAccessToken,
getAccessTokenByGoogleAccessToken, getAccessTokenByLinkedinAccessToken, getAccessTokenByAppleIdCode, getAccessTokenByGoogleAuthCode" native Social login APIs.


## Added new multiple APIs for better user experience

- Added linkSocialIdentities(POST) API.
- Added linkSocialIdentitiesByPing(POST) API.
- Added getAccessTokenByAppleIdCode API.
- Added getAccessTokenByWeChatCode API.


## Removed APIs:

- linkSocialIdentity API(PUT)
- getSocialIdentity API(GET)

### Version 10.0.2
Release on **April 27,2020**

Expand Down
2 changes: 1 addition & 1 deletion LoginRadius-JavaSDK/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.loginradius.sdk</groupId>
<artifactId>java-sdk</artifactId>
<version>10.0.2</version>
<version>11.0.0</version>
<description>LoginRadius java SDK contains registration and social APIs</description>
<url>https://github.com/LoginRadius/java-sdk</url>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -874,9 +874,9 @@ public void onFailure(ErrorResponse errorResponse) {
}

// <summary>
// This API is used to refresh an access_token via it's associated refresh_token.
// This API is used to refresh an access token via it's associated refresh token.
// </summary>
// <param name="refreshToken">LoginRadius refresh_token</param>
// <param name="refreshToken">LoginRadius refresh token</param>
// <returns>Response containing Definition of Complete Token data</returns>
// 18.31

Expand Down Expand Up @@ -913,7 +913,7 @@ public void onFailure(ErrorResponse errorResponse) {
// <summary>
// The Revoke Refresh Access Token API is used to revoke a refresh token or the Provider Access Token, revoking an existing refresh token will invalidate the refresh token but the associated access token will work until the expiry.
// </summary>
// <param name="refreshToken">LoginRadius refresh_token</param>
// <param name="refreshToken">LoginRadius refresh token</param>
// <returns>Response containing Definition of Delete Request</returns>
// 18.32

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void onFailure(ErrorResponse errorResponse) {
}

// <summary>
// This API allows you to fill data into a dropdown list which you have created for user Registeration. For more details on how to use this API please see our Custom Registration Data Overview
// This API allows you to fill data into a dropdown list which you have created for user Registration. For more details on how to use this API please see our Custom Registration Data Overview
// </summary>
// <param name="registrationDataCreateModelList">Model Class containing Definition of List of Registration Data</param>
// <returns>Response containing Definition of Complete Validation data</returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public MultiFactorAuthenticationApi(){


// <summary>
// This API is used to configure the Multi-factor authentication after login by using the access_token when MFA is set as optional on the LoginRadius site.
// This API is used to configure the Multi-factor authentication after login by using the access token when MFA is set as optional on the LoginRadius site.
// </summary>
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
// <param name="smsTemplate2FA">SMS Template Name</param>
Expand Down Expand Up @@ -232,7 +232,7 @@ public void onFailure(ErrorResponse errorResponse) {
}

// <summary>
// This API Resets the Google Authenticator configurations on a given account via the access_token
// This API Resets the Google Authenticator configurations on a given account via the access token
// </summary>
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
// <param name="googleauthenticator">boolean type value,Enable google Authenticator Code.</param>
Expand Down Expand Up @@ -272,7 +272,7 @@ public void onFailure(ErrorResponse errorResponse) {
}

// <summary>
// This API resets the SMS Authenticator configurations on a given account via the access_token.
// This API resets the SMS Authenticator configurations on a given account via the access token.
// </summary>
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
// <param name="otpauthenticator">Pass 'otpauthenticator' to remove SMS Authenticator</param>
Expand Down Expand Up @@ -312,7 +312,7 @@ public void onFailure(ErrorResponse errorResponse) {
}

// <summary>
// This API is used to get a set of backup codes via access_token to allow the user login on a site that has Multi-factor Authentication enabled in the event that the user does not have a secondary factor available. We generate 10 codes, each code can only be consumed once. If any user attempts to go over the number of invalid login attempts configured in the Dashboard then the account gets blocked automatically
// This API is used to get a set of backup codes via access token to allow the user login on a site that has Multi-factor Authentication enabled in the event that the user does not have a secondary factor available. We generate 10 codes, each code can only be consumed once. If any user attempts to go over the number of invalid login attempts configured in the Dashboard then the account gets blocked automatically
// </summary>
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
// <returns>Response containing Definition of Complete Backup Code data</returns>
Expand Down Expand Up @@ -348,7 +348,7 @@ public void onFailure(ErrorResponse errorResponse) {
}

// <summary>
// API is used to reset the backup codes on a given account via the access_token. This API call will generate 10 new codes, each code can only be consumed once
// API is used to reset the backup codes on a given account via the access token. This API call will generate 10 new codes, each code can only be consumed once
// </summary>
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
// <returns>Response containing Definition of Complete Backup Code data</returns>
Expand Down Expand Up @@ -719,7 +719,7 @@ public void onFailure(ErrorResponse errorResponse) {
}

// <summary>
// This API is used to validate the backup code provided by the user and if valid, we return an access_token allowing the user to login incases where Multi-factor authentication (MFA) is enabled and the secondary factor is unavailable. When a user initially downloads the Backup codes, We generate 10 codes, each code can only be consumed once. if any user attempts to go over the number of invalid login attempts configured in the Dashboard then the account gets blocked automatically
// This API is used to validate the backup code provided by the user and if valid, we return an access token allowing the user to login incases where Multi-factor authentication (MFA) is enabled and the secondary factor is unavailable. When a user initially downloads the Backup codes, We generate 10 codes, each code can only be consumed once. if any user attempts to go over the number of invalid login attempts configured in the Dashboard then the account gets blocked automatically
// </summary>
// <param name="multiFactorAuthModelByBackupCode">Model Class containing Definition of payload for MultiFactorAuth By BackupCode API</param>
// <param name="secondFactorAuthenticationToken">A Uniquely generated MFA identifier token after successful authentication</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public ReAuthenticationApi(){


// <summary>
// This API is used to trigger the Multi-Factor Autentication workflow for the provided access_token
// This API is used to trigger the Multi-Factor Autentication workflow for the provided access token
// </summary>
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
// <param name="smsTemplate2FA">SMS Template Name</param>
Expand Down Expand Up @@ -122,7 +122,7 @@ public void onFailure(ErrorResponse errorResponse) {
}

// <summary>
// This API is used to re-authenticate by set of backup codes via access_token on the site that has Multi-factor authentication enabled in re-authentication for the user that does not have the device
// This API is used to re-authenticate by set of backup codes via access token on the site that has Multi-factor authentication enabled in re-authentication for the user that does not have the device
// </summary>
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
// <param name="reauthByBackupCodeModel">Model Class containing Definition for MFA Reauthentication by Backup code</param>
Expand Down
Loading