redirect_uri
CreateRedirectUriRequest
Bases: TypedDict
Class representing a request to create a redirect uri.
Attributes:
Name | Type | Description |
---|---|---|
url |
str
|
Redirect URL. |
platform |
str
|
Platform identifier. |
settings |
NotRequired[WritableRedirectUriSettings]
|
Optional settings for the redirect uri. |
Source code in nylas/models/redirect_uri.py
71 72 73 74 75 76 77 78 79 80 81 82 83 |
|
RedirectUri
dataclass
Class representing a Redirect URI object.
Attributes:
Name | Type | Description |
---|---|---|
id |
str
|
Globally unique object identifier. |
url |
str
|
Redirect URL. |
platform |
str
|
Platform identifier. |
settings |
Optional[RedirectUriSettings]
|
Configuration settings. |
Source code in nylas/models/redirect_uri.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
|
RedirectUriSettings
dataclass
Configuration settings for a Redirect URI object.
Attributes:
Name | Type | Description |
---|---|---|
origin |
Optional[str]
|
Related to JS platform. |
bundle_id |
Optional[str]
|
Related to iOS platform. |
app_store_id |
Optional[str]
|
Related to iOS platform. |
team_id |
Optional[str]
|
Related to iOS platform. |
package_name |
Optional[str]
|
Related to Android platform. |
sha1_certificate_fingerprint |
Optional[str]
|
Related to Android platform. |
Source code in nylas/models/redirect_uri.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|
UpdateRedirectUriRequest
Bases: TypedDict
Class representing a request to update a redirect uri.
Attributes:
Name | Type | Description |
---|---|---|
url |
NotRequired[str]
|
Redirect URL. |
platform |
NotRequired[str]
|
Platform identifier. |
settings |
NotRequired[WritableRedirectUriSettings]
|
Optional settings for the redirect uri. |
Source code in nylas/models/redirect_uri.py
86 87 88 89 90 91 92 93 94 95 96 97 98 |
|
WritableRedirectUriSettings
Bases: TypedDict
Class representing redirect uri settings to be provided for a create/update call.
Attributes:
Name | Type | Description |
---|---|---|
origin |
NotRequired[str]
|
Optional origin for the redirect uri. |
bundle_id |
NotRequired[str]
|
Optional bundle id for the redirect uri. |
app_store_id |
NotRequired[str]
|
Optional app store id for the redirect uri. |
team_id |
NotRequired[str]
|
Optional team id for the redirect uri. |
package_name |
NotRequired[str]
|
Optional package name for the redirect uri. |
sha1_certificate_fingerprint |
NotRequired[str]
|
Optional sha1 certificate fingerprint for the redirect uri. |
Source code in nylas/models/redirect_uri.py
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
|