Skip to content

Commit 9655003

Browse files
Merge pull request #4 from akshay-s-770/master
Version 11.0.0
2 parents aedc0c2 + 5aea3a4 commit 9655003

File tree

17 files changed

+389
-198
lines changed

17 files changed

+389
-198
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
> **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/)
22
3+
# Version 11.0.0
4+
Released on **Aug 21, 2020**
5+
6+
## Enhancements
7+
8+
- Added a parameter isWeb in "RefreshAccessToken" API.
9+
- Added a parameter SocialAppName in "getAccessTokenByFacebookAccessToken, getAccessTokenByTwitterAccessToken,
10+
getAccessTokenByGoogleAccessToken, getAccessTokenByLinkedinAccessToken, getAccessTokenByAppleIdCode, getAccessTokenByGoogleAuthCode" native Social login APIs.
11+
12+
13+
## Added new multiple APIs for better user experience
14+
15+
- Added linkSocialIdentities(POST) API.
16+
- Added linkSocialIdentitiesByPing(POST) API.
17+
- Added getAccessTokenByAppleIdCode API.
18+
- Added getAccessTokenByWeChatCode API.
19+
20+
21+
## Removed APIs:
22+
23+
- linkSocialIdentity API(PUT)
24+
- getSocialIdentity API(GET)
25+
326
### Version 10.0.2
427
Release on **April 27,2020**
528

LoginRadius-JavaSDK/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.loginradius.sdk</groupId>
88
<artifactId>java-sdk</artifactId>
9-
<version>10.0.2</version>
9+
<version>11.0.0</version>
1010
<description>LoginRadius java SDK contains registration and social APIs</description>
1111
<url>https://github.com/LoginRadius/java-sdk</url>
1212

LoginRadius-JavaSDK/src/main/java/com/loginradius/sdk/api/account/AccountApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -874,9 +874,9 @@ public void onFailure(ErrorResponse errorResponse) {
874874
}
875875

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

@@ -913,7 +913,7 @@ public void onFailure(ErrorResponse errorResponse) {
913913
// <summary>
914914
// 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.
915915
// </summary>
916-
// <param name="refreshToken">LoginRadius refresh_token</param>
916+
// <param name="refreshToken">LoginRadius refresh token</param>
917917
// <returns>Response containing Definition of Delete Request</returns>
918918
// 18.32
919919

LoginRadius-JavaSDK/src/main/java/com/loginradius/sdk/api/advanced/CustomRegistrationDataApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public void onFailure(ErrorResponse errorResponse) {
186186
}
187187

188188
// <summary>
189-
// 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
189+
// 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
190190
// </summary>
191191
// <param name="registrationDataCreateModelList">Model Class containing Definition of List of Registration Data</param>
192192
// <returns>Response containing Definition of Complete Validation data</returns>

LoginRadius-JavaSDK/src/main/java/com/loginradius/sdk/api/advanced/MultiFactorAuthenticationApi.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public MultiFactorAuthenticationApi(){
4242

4343

4444
// <summary>
45-
// 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.
45+
// 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.
4646
// </summary>
4747
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
4848
// <param name="smsTemplate2FA">SMS Template Name</param>
@@ -232,7 +232,7 @@ public void onFailure(ErrorResponse errorResponse) {
232232
}
233233

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

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

314314
// <summary>
315-
// 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
315+
// 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
316316
// </summary>
317317
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
318318
// <returns>Response containing Definition of Complete Backup Code data</returns>
@@ -348,7 +348,7 @@ public void onFailure(ErrorResponse errorResponse) {
348348
}
349349

350350
// <summary>
351-
// 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
351+
// 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
352352
// </summary>
353353
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
354354
// <returns>Response containing Definition of Complete Backup Code data</returns>
@@ -719,7 +719,7 @@ public void onFailure(ErrorResponse errorResponse) {
719719
}
720720

721721
// <summary>
722-
// 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
722+
// 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
723723
// </summary>
724724
// <param name="multiFactorAuthModelByBackupCode">Model Class containing Definition of payload for MultiFactorAuth By BackupCode API</param>
725725
// <param name="secondFactorAuthenticationToken">A Uniquely generated MFA identifier token after successful authentication</param>

LoginRadius-JavaSDK/src/main/java/com/loginradius/sdk/api/advanced/ReAuthenticationApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public ReAuthenticationApi(){
4040

4141

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

124124
// <summary>
125-
// 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
125+
// 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
126126
// </summary>
127127
// <param name="accessToken">Uniquely generated identifier key by LoginRadius that is activated after successful authentication.</param>
128128
// <param name="reauthByBackupCodeModel">Model Class containing Definition for MFA Reauthentication by Backup code</param>

0 commit comments

Comments
 (0)