You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,20 @@
1
1
# LoginRadius Python SDK Change Log
2
2
3
3
4
+
5
+
6
+
# Version 11.3.0
7
+
8
+
## Enhancements
9
+
10
+
- Added a feature to add ApiKey and ApiSecret directly in LoginRadius manual SOTT generation method.
11
+
- Code optimization for better performance.
12
+
- Added Licence and Contribution Guideline files.
13
+
14
+
## Breaking Changes
15
+
16
+
For developers migrating from v11.2.0, there will be 1 minor breaking change in terms of SDK implementation. In this version, we have added a feature to add ApiKey & ApiSecret directly into the manual SOTT generation method `get_sott()`.
[PYTHON SDK](https://github.com/LoginRadius/python-sdk) is [MIT](LICENSE) licensed and accepts contributions via GitHub pull requests. This document outlines some of the conventions on development workflow, commit message formatting, contact points, and other resources to make it easier to get your contribution accepted.
4
+
5
+
## Getting Started
6
+
7
+
- Fork the repository on GitHub.
8
+
- If you find any bug or Improvement in our existing code-base, please create a pull request as mentioned in Contribution Flow.
9
+
10
+
## Contribution Flow
11
+
12
+
This is a rough outline of what a contributor's workflow looks like:
13
+
14
+
- Create a separate branch from the `dev` branch to base your work.
15
+
- Make commits of logical units.
16
+
- Make sure your commit messages are in the proper format (see below).
17
+
- Push your changes to a topic branch in your fork of the repository.
18
+
- Submit a pull request to the original repository.
19
+
-**Please ensure that you raise a PR on the `dev` branch instead of `master`.**
20
+
21
+
#### Commit Messages
22
+
23
+
Please follow the below format while writing commit messages:
24
+
25
+
```
26
+
title: One line description about your change
27
+
<Blank Line>
28
+
description: An optional description of your changes.
29
+
```
30
+
31
+
Thanks for your contributions!
32
+
33
+
## Code of Conduct
34
+
35
+
### Our Pledge
36
+
37
+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
38
+
39
+
### Our Responsibilities
40
+
41
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
Copy file name to clipboardExpand all lines: README.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,13 @@ You will need at least Python - 2.7 or greater. LoginRadius module utilizes the
29
29
Using pip
30
30
31
31
```
32
-
pip install loginradius-v2==11.2.0
32
+
pip install loginradius-v2==11.3.0
33
33
```
34
34
35
35
or with easy_install
36
36
37
37
```
38
-
easy_install loginradius-v2==11.2.0
38
+
easy_install loginradius-v2==11.3.0
39
39
```
40
40
41
41
### Install From Source
@@ -4250,6 +4250,29 @@ else:
4250
4250
```
4251
4251
4252
4252
<br>
4253
+
4254
+
### Generate SOTT Manually
4255
+
4256
+
SOTT is a secure one-time token that can be created using the API key, API secret, and a timestamp ( start time and end time ). You can manually create a SOTT using the following utility function.
4257
+
4258
+
4259
+
```
4260
+
timeDifference='10' #(Optional) The time difference will be used to set the expiration time of SOTT, If you do not pass time difference then the default expiration time of SOTT is 10 minutes.
4261
+
4262
+
getLRserverTime=False #(Optional) If True it will call LoginRadius Get Server Time Api and fetch basic server information and server time information which is useful when generating an SOTT token.
4263
+
4264
+
# The LoginRadius API key and primary API secret can be passed additionally, If the credentials will not be passed then this SOTT function will pick the API credentials from the SDK configuration.
4265
+
4266
+
4267
+
apiKey="" #(Optional) LoginRadius Api Key.
4268
+
4269
+
apiSecret = "" # (Optional) LoginRadius Api Secret (Only Primary Api Secret is used to generate the SOTT manually).
Copy file name to clipboardExpand all lines: lib/README.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,18 +21,30 @@ From Package
21
21
Using pip
22
22
23
23
```
24
-
pip install loginradius-v2==11.2.0
24
+
pip install loginradius-v2==11.3.0
25
25
```
26
26
27
27
or with easy_install
28
28
29
29
```
30
-
easy_install loginradius-v2==11.2.0
30
+
easy_install loginradius-v2==11.3.0
31
31
```
32
32
33
33
Changelog
34
34
======
35
35
36
+
11.3.0
37
+
-----------
38
+
Release on **January 31, 2022**
39
+
## Enhancements
40
+
41
+
- Added a feature to add ApiKey and ApiSecret directly in LoginRadius manual SOTT generation method.
42
+
- Code optimization for better performance.
43
+
- Added Licence and Contribution Guideline files.
44
+
45
+
## Breaking Changes
46
+
47
+
For developers migrating from v11.2.0, there will be 1 minor breaking change in terms of SDK implementation. In this version, we have added a feature to add ApiKey & ApiSecret directly into the manual SOTT generation method `get_sott()`.
0 commit comments