LangDev provides a simple single sign-on API. It is available only for registered third-party applications.
A third-party application object.
Unique primary key.
Generates a random key.
| Returns: | a random-generated 32 characters |
|---|---|
| Return type: | str |
Generates a random secret_key.
| Returns: | a random-generated 64 characters |
|---|---|
| Return type: | str |
An application title.
A long description of the application.
An application URL.
(datetime.datetime) Created time.
Hashes a string using its secret_key.
| Parameters: | string – a string to hash |
|---|---|
| Returns: | a hashed hexadecimal digest of string and secret_key |
| Return type: | str |