passageidentity 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/openapi_client/api/apps_api.rb +2 -2
- data/lib/openapi_client/api/magic_links_api.rb +4 -4
- data/lib/openapi_client/api/tokens_api.rb +2 -2
- data/lib/openapi_client/api/user_devices_api.rb +3 -3
- data/lib/openapi_client/api/users_api.rb +8 -8
- data/lib/openapi_client/api_client.rb +36 -30
- data/lib/openapi_client/api_error.rb +1 -1
- data/lib/openapi_client/configuration.rb +11 -1
- data/lib/openapi_client/models/app_info.rb +36 -3
- data/lib/openapi_client/models/app_response.rb +1 -1
- data/lib/openapi_client/models/apple_user_social_connection.rb +1 -1
- data/lib/openapi_client/models/auth_methods.rb +1 -1
- data/lib/openapi_client/models/create_magic_link_request.rb +2 -57
- data/lib/openapi_client/models/create_user_request.rb +1 -1
- data/lib/openapi_client/models/element_customization.rb +1 -1
- data/lib/openapi_client/models/font_family.rb +1 -1
- data/lib/openapi_client/models/github_user_social_connection.rb +1 -1
- data/lib/openapi_client/models/google_user_social_connection.rb +1 -1
- data/lib/openapi_client/models/layout_config.rb +1 -1
- data/lib/openapi_client/models/layouts.rb +1 -1
- data/lib/openapi_client/models/link.rb +1 -1
- data/lib/openapi_client/models/list_devices_response.rb +1 -1
- data/lib/openapi_client/models/list_paginated_users_item.rb +19 -2
- data/lib/openapi_client/models/list_paginated_users_response.rb +1 -1
- data/lib/openapi_client/models/magic_link.rb +1 -1
- data/lib/openapi_client/models/magic_link_auth_method.rb +1 -1
- data/lib/openapi_client/models/magic_link_channel.rb +1 -1
- data/lib/openapi_client/models/magic_link_response.rb +1 -1
- data/lib/openapi_client/models/magic_link_type.rb +1 -1
- data/lib/openapi_client/models/model400_error.rb +1 -1
- data/lib/openapi_client/models/model401_error.rb +1 -1
- data/lib/openapi_client/models/model403_error.rb +1 -1
- data/lib/openapi_client/models/model404_error.rb +3 -3
- data/lib/openapi_client/models/model500_error.rb +1 -1
- data/lib/openapi_client/models/nonce.rb +1 -1
- data/lib/openapi_client/models/otp_auth_method.rb +1 -1
- data/lib/openapi_client/models/paginated_links.rb +1 -1
- data/lib/openapi_client/models/passkeys_auth_method.rb +1 -1
- data/lib/openapi_client/models/social_connection_type.rb +41 -0
- data/lib/openapi_client/models/technologies.rb +1 -1
- data/lib/openapi_client/models/theme_type.rb +41 -0
- data/lib/openapi_client/models/ttl_display_unit.rb +1 -1
- data/lib/openapi_client/models/update_user_request.rb +1 -1
- data/lib/openapi_client/models/user_event_action.rb +41 -0
- data/lib/openapi_client/models/user_event_status.rb +1 -1
- data/lib/openapi_client/models/user_info.rb +19 -2
- data/lib/openapi_client/models/user_metadata_field.rb +1 -1
- data/lib/openapi_client/models/user_metadata_field_type.rb +1 -1
- data/lib/openapi_client/models/user_recent_event.rb +51 -5
- data/lib/openapi_client/models/user_response.rb +1 -1
- data/lib/openapi_client/models/user_social_connections.rb +1 -1
- data/lib/openapi_client/models/user_status.rb +1 -1
- data/lib/openapi_client/models/web_authn_devices.rb +1 -1
- data/lib/openapi_client/models/web_authn_icons.rb +1 -1
- data/lib/openapi_client/models/web_authn_type.rb +1 -1
- data/lib/openapi_client/version.rb +1 -1
- data/lib/openapi_client.rb +4 -4
- data/lib/passageidentity/auth.rb +205 -104
- data/lib/passageidentity/client.rb +71 -59
- data/lib/passageidentity/error.rb +42 -16
- data/lib/passageidentity/user_api.rb +120 -161
- data/lib/passageidentity/version.rb +1 -1
- data/lib/passageidentity.rb +6 -2
- metadata +38 -84
- data/.github/workflows/deploy.yml +0 -30
- data/.github/workflows/on-pull-request.yml +0 -33
- data/.gitignore +0 -58
- data/CHANGELOG.md +0 -51
- data/CONTRIBUTING.md +0 -66
- data/Gemfile +0 -13
- data/LICENSE +0 -21
- data/README.md +0 -218
- data/docs/custom/AuthApi.md +0 -141
- data/docs/custom/ClientApi.md +0 -107
- data/docs/custom/UserApi.md +0 -419
- data/docs/generated/AppInfo.md +0 -94
- data/docs/generated/AppResponse.md +0 -18
- data/docs/generated/AppleUserSocialConnection.md +0 -24
- data/docs/generated/AppsApi.md +0 -77
- data/docs/generated/AuthMethods.md +0 -22
- data/docs/generated/CreateMagicLinkRequest.md +0 -36
- data/docs/generated/CreateUserRequest.md +0 -22
- data/docs/generated/ElementCustomization.md +0 -56
- data/docs/generated/FontFamily.md +0 -15
- data/docs/generated/GithubUserSocialConnection.md +0 -24
- data/docs/generated/GoogleUserSocialConnection.md +0 -24
- data/docs/generated/LayoutConfig.md +0 -26
- data/docs/generated/Layouts.md +0 -20
- data/docs/generated/Link.md +0 -18
- data/docs/generated/ListDevicesResponse.md +0 -18
- data/docs/generated/ListPaginatedUsersItem.md +0 -38
- data/docs/generated/ListPaginatedUsersResponse.md +0 -28
- data/docs/generated/MagicLink.md +0 -36
- data/docs/generated/MagicLinkAuthMethod.md +0 -22
- data/docs/generated/MagicLinkChannel.md +0 -15
- data/docs/generated/MagicLinkResponse.md +0 -18
- data/docs/generated/MagicLinkType.md +0 -15
- data/docs/generated/MagicLinksApi.md +0 -79
- data/docs/generated/Model400Error.md +0 -20
- data/docs/generated/Model401Error.md +0 -20
- data/docs/generated/Model403Error.md +0 -20
- data/docs/generated/Model404Error.md +0 -20
- data/docs/generated/Model500Error.md +0 -20
- data/docs/generated/Nonce.md +0 -18
- data/docs/generated/OtpAuthMethod.md +0 -22
- data/docs/generated/PaginatedLinks.md +0 -26
- data/docs/generated/PasskeysAuthMethod.md +0 -18
- data/docs/generated/README.md +0 -158
- data/docs/generated/Technologies.md +0 -15
- data/docs/generated/TokensApi.md +0 -78
- data/docs/generated/TtlDisplayUnit.md +0 -15
- data/docs/generated/UpdateUserRequest.md +0 -22
- data/docs/generated/UserDevicesApi.md +0 -152
- data/docs/generated/UserEventStatus.md +0 -15
- data/docs/generated/UserInfo.md +0 -48
- data/docs/generated/UserMetadataField.md +0 -28
- data/docs/generated/UserMetadataFieldType.md +0 -15
- data/docs/generated/UserRecentEvent.md +0 -30
- data/docs/generated/UserResponse.md +0 -18
- data/docs/generated/UserSocialConnections.md +0 -22
- data/docs/generated/UserStatus.md +0 -15
- data/docs/generated/UsersApi.md +0 -534
- data/docs/generated/WebAuthnDevices.md +0 -34
- data/docs/generated/WebAuthnIcons.md +0 -20
- data/docs/generated/WebAuthnType.md +0 -15
- data/generate.sh +0 -31
- data/openapitools.json +0 -7
- data/passageidentity.gemspec +0 -32
- data/tests/all.rb +0 -3
- data/tests/app_test.rb +0 -15
- data/tests/auth_test.rb +0 -74
- data/tests/errors_test.rb +0 -30
- data/tests/magic_link_test.rb +0 -22
- data/tests/user_api_test.rb +0 -121
data/docs/generated/AppInfo.md
DELETED
@@ -1,94 +0,0 @@
|
|
1
|
-
# OpenapiClient::AppInfo
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **additional_auth_origins** | **Array<String>** | | |
|
8
|
-
| **allowed_callback_urls** | **Array<String>** | The valid URLs where users can be redirected after authentication. | |
|
9
|
-
| **allowed_identifier** | **String** | | |
|
10
|
-
| **allowed_logout_urls** | **Array<String>** | The valid URLs where users can be redirected after logging out. | |
|
11
|
-
| **application_login_uri** | **String** | A route within your application that redirects to the Authorization URL endpoint. | |
|
12
|
-
| **auth_fallback_method** | **String** | Deprecated Property. Please refer to `auth_methods` to view settings for individual authentication methods. | |
|
13
|
-
| **auth_fallback_method_ttl** | **Integer** | Deprecated Property. Please refer to `auth_methods` to view settings for individual authentication methods. | |
|
14
|
-
| **auth_methods** | [**AuthMethods**](AuthMethods.md) | | |
|
15
|
-
| **auth_origin** | **String** | | |
|
16
|
-
| **created_at** | **Time** | | |
|
17
|
-
| **default_language** | **String** | | |
|
18
|
-
| **id** | **String** | | |
|
19
|
-
| **layouts** | [**Layouts**](Layouts.md) | | |
|
20
|
-
| **login_url** | **String** | | |
|
21
|
-
| **light_logo_url** | **String** | | [optional] |
|
22
|
-
| **dark_logo_url** | **String** | | [optional] |
|
23
|
-
| **name** | **String** | | |
|
24
|
-
| **hosted** | **Boolean** | whether or not the app's login page hosted by passage | |
|
25
|
-
| **hosted_subdomain** | **String** | the subdomain of the app's hosted login page | |
|
26
|
-
| **id_token_lifetime** | **Integer** | | [optional] |
|
27
|
-
| **passage_branding** | **Boolean** | | |
|
28
|
-
| **profile_management** | **Boolean** | | |
|
29
|
-
| **public_signup** | **Boolean** | | |
|
30
|
-
| **redirect_url** | **String** | | |
|
31
|
-
| **refresh_absolute_lifetime** | **Integer** | | |
|
32
|
-
| **refresh_enabled** | **Boolean** | | |
|
33
|
-
| **refresh_inactivity_lifetime** | **Integer** | | |
|
34
|
-
| **require_email_verification** | **Boolean** | | |
|
35
|
-
| **require_identifier_verification** | **Boolean** | | |
|
36
|
-
| **required_identifier** | **String** | | |
|
37
|
-
| **role** | **String** | | |
|
38
|
-
| **rsa_public_key** | **String** | | |
|
39
|
-
| **secret** | **String** | can only be retrieved by an app admin | [optional] |
|
40
|
-
| **session_timeout_length** | **Integer** | | |
|
41
|
-
| **type** | **String** | | |
|
42
|
-
| **user_metadata_schema** | [**Array<UserMetadataField>**](UserMetadataField.md) | | |
|
43
|
-
| **technologies** | [**Array<Technologies>**](Technologies.md) | | |
|
44
|
-
| **element_customization** | [**ElementCustomization**](ElementCustomization.md) | | |
|
45
|
-
| **element_customization_dark** | [**ElementCustomization**](ElementCustomization.md) | | |
|
46
|
-
|
47
|
-
## Example
|
48
|
-
|
49
|
-
```ruby
|
50
|
-
require 'openapi_client'
|
51
|
-
|
52
|
-
instance = OpenapiClient::AppInfo.new(
|
53
|
-
additional_auth_origins: null,
|
54
|
-
allowed_callback_urls: null,
|
55
|
-
allowed_identifier: null,
|
56
|
-
allowed_logout_urls: null,
|
57
|
-
application_login_uri: null,
|
58
|
-
auth_fallback_method: null,
|
59
|
-
auth_fallback_method_ttl: null,
|
60
|
-
auth_methods: null,
|
61
|
-
auth_origin: null,
|
62
|
-
created_at: null,
|
63
|
-
default_language: null,
|
64
|
-
id: null,
|
65
|
-
layouts: null,
|
66
|
-
login_url: null,
|
67
|
-
light_logo_url: null,
|
68
|
-
dark_logo_url: null,
|
69
|
-
name: null,
|
70
|
-
hosted: null,
|
71
|
-
hosted_subdomain: null,
|
72
|
-
id_token_lifetime: null,
|
73
|
-
passage_branding: null,
|
74
|
-
profile_management: null,
|
75
|
-
public_signup: null,
|
76
|
-
redirect_url: null,
|
77
|
-
refresh_absolute_lifetime: null,
|
78
|
-
refresh_enabled: null,
|
79
|
-
refresh_inactivity_lifetime: null,
|
80
|
-
require_email_verification: null,
|
81
|
-
require_identifier_verification: null,
|
82
|
-
required_identifier: null,
|
83
|
-
role: null,
|
84
|
-
rsa_public_key: null,
|
85
|
-
secret: null,
|
86
|
-
session_timeout_length: null,
|
87
|
-
type: null,
|
88
|
-
user_metadata_schema: null,
|
89
|
-
technologies: null,
|
90
|
-
element_customization: null,
|
91
|
-
element_customization_dark: null
|
92
|
-
)
|
93
|
-
```
|
94
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# OpenapiClient::AppResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **app** | [**AppInfo**](AppInfo.md) | | |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'openapi_client'
|
13
|
-
|
14
|
-
instance = OpenapiClient::AppResponse.new(
|
15
|
-
app: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# OpenapiClient::AppleUserSocialConnection
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **provider_id** | **String** | The external ID of the Social Connection. | |
|
8
|
-
| **created_at** | **Time** | | |
|
9
|
-
| **last_login_at** | **Time** | | |
|
10
|
-
| **provider_identifier** | **String** | The email of connected social user. | |
|
11
|
-
|
12
|
-
## Example
|
13
|
-
|
14
|
-
```ruby
|
15
|
-
require 'openapi_client'
|
16
|
-
|
17
|
-
instance = OpenapiClient::AppleUserSocialConnection.new(
|
18
|
-
provider_id: null,
|
19
|
-
created_at: null,
|
20
|
-
last_login_at: null,
|
21
|
-
provider_identifier: null
|
22
|
-
)
|
23
|
-
```
|
24
|
-
|
data/docs/generated/AppsApi.md
DELETED
@@ -1,77 +0,0 @@
|
|
1
|
-
# OpenapiClient::AppsApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.passage.id/v1*
|
4
|
-
|
5
|
-
| Method | HTTP request | Description |
|
6
|
-
| ------ | ------------ | ----------- |
|
7
|
-
| [**get_app**](AppsApi.md#get_app) | **GET** /apps/{app_id} | Get App |
|
8
|
-
|
9
|
-
|
10
|
-
## get_app
|
11
|
-
|
12
|
-
> <AppResponse> get_app(app_id)
|
13
|
-
|
14
|
-
Get App
|
15
|
-
|
16
|
-
Get app information.
|
17
|
-
|
18
|
-
### Examples
|
19
|
-
|
20
|
-
```ruby
|
21
|
-
require 'time'
|
22
|
-
require 'openapi_client'
|
23
|
-
# setup authorization
|
24
|
-
OpenapiClient.configure do |config|
|
25
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
26
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
27
|
-
end
|
28
|
-
|
29
|
-
api_instance = OpenapiClient::AppsApi.new
|
30
|
-
app_id = 'app_id_example' # String | App ID
|
31
|
-
|
32
|
-
begin
|
33
|
-
# Get App
|
34
|
-
result = api_instance.get_app(app_id)
|
35
|
-
p result
|
36
|
-
rescue OpenapiClient::ApiError => e
|
37
|
-
puts "Error when calling AppsApi->get_app: #{e}"
|
38
|
-
end
|
39
|
-
```
|
40
|
-
|
41
|
-
#### Using the get_app_with_http_info variant
|
42
|
-
|
43
|
-
This returns an Array which contains the response data, status code and headers.
|
44
|
-
|
45
|
-
> <Array(<AppResponse>, Integer, Hash)> get_app_with_http_info(app_id)
|
46
|
-
|
47
|
-
```ruby
|
48
|
-
begin
|
49
|
-
# Get App
|
50
|
-
data, status_code, headers = api_instance.get_app_with_http_info(app_id)
|
51
|
-
p status_code # => 2xx
|
52
|
-
p headers # => { ... }
|
53
|
-
p data # => <AppResponse>
|
54
|
-
rescue OpenapiClient::ApiError => e
|
55
|
-
puts "Error when calling AppsApi->get_app_with_http_info: #{e}"
|
56
|
-
end
|
57
|
-
```
|
58
|
-
|
59
|
-
### Parameters
|
60
|
-
|
61
|
-
| Name | Type | Description | Notes |
|
62
|
-
| ---- | ---- | ----------- | ----- |
|
63
|
-
| **app_id** | **String** | App ID | |
|
64
|
-
|
65
|
-
### Return type
|
66
|
-
|
67
|
-
[**AppResponse**](AppResponse.md)
|
68
|
-
|
69
|
-
### Authorization
|
70
|
-
|
71
|
-
[bearerAuth](../README.md#bearerAuth)
|
72
|
-
|
73
|
-
### HTTP request headers
|
74
|
-
|
75
|
-
- **Content-Type**: Not defined
|
76
|
-
- **Accept**: application/json
|
77
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# OpenapiClient::AuthMethods
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **passkeys** | [**PasskeysAuthMethod**](PasskeysAuthMethod.md) | | |
|
8
|
-
| **otp** | [**OtpAuthMethod**](OtpAuthMethod.md) | | |
|
9
|
-
| **magic_link** | [**MagicLinkAuthMethod**](MagicLinkAuthMethod.md) | | |
|
10
|
-
|
11
|
-
## Example
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'openapi_client'
|
15
|
-
|
16
|
-
instance = OpenapiClient::AuthMethods.new(
|
17
|
-
passkeys: null,
|
18
|
-
otp: null,
|
19
|
-
magic_link: null
|
20
|
-
)
|
21
|
-
```
|
22
|
-
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# OpenapiClient::CreateMagicLinkRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **channel** | [**MagicLinkChannel**](MagicLinkChannel.md) | | |
|
8
|
-
| **email** | **String** | | |
|
9
|
-
| **language** | **String** | language of the email to send (optional) | [optional] |
|
10
|
-
| **magic_link_path** | **String** | | |
|
11
|
-
| **phone** | **String** | | |
|
12
|
-
| **redirect_url** | **String** | | |
|
13
|
-
| **_send** | **Boolean** | | |
|
14
|
-
| **ttl** | **Integer** | | |
|
15
|
-
| **type** | [**MagicLinkType**](MagicLinkType.md) | | [optional] |
|
16
|
-
| **user_id** | **String** | | |
|
17
|
-
|
18
|
-
## Example
|
19
|
-
|
20
|
-
```ruby
|
21
|
-
require 'openapi_client'
|
22
|
-
|
23
|
-
instance = OpenapiClient::CreateMagicLinkRequest.new(
|
24
|
-
channel: null,
|
25
|
-
email: null,
|
26
|
-
language: null,
|
27
|
-
magic_link_path: null,
|
28
|
-
phone: null,
|
29
|
-
redirect_url: null,
|
30
|
-
_send: null,
|
31
|
-
ttl: null,
|
32
|
-
type: null,
|
33
|
-
user_id: null
|
34
|
-
)
|
35
|
-
```
|
36
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# OpenapiClient::CreateUserRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **email** | **String** | Email of the new user. Either this or `phone` is required; both may be provided. | [optional] |
|
8
|
-
| **phone** | **String** | Phone number of the new user. Either this or `email` is required; both may be provided. | [optional] |
|
9
|
-
| **user_metadata** | **Object** | | [optional] |
|
10
|
-
|
11
|
-
## Example
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'openapi_client'
|
15
|
-
|
16
|
-
instance = OpenapiClient::CreateUserRequest.new(
|
17
|
-
email: null,
|
18
|
-
phone: null,
|
19
|
-
user_metadata: null
|
20
|
-
)
|
21
|
-
```
|
22
|
-
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# OpenapiClient::ElementCustomization
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **passage_container_background_color** | **String** | Container background color in hex. Default is `#ffffff` in light mode & `#383838` in dark mode. | [optional] |
|
8
|
-
| **passage_container_max_width** | **Integer** | Maximum width of container (px) | [optional][default to 300] |
|
9
|
-
| **passage_input_box_background_color** | **String** | Input box background color in hex. Default is `#ffffff` in light mode & `#4b4b4b` in dark mode. | [optional] |
|
10
|
-
| **passage_input_box_border_radius** | **Integer** | Input box border radius (px) | [optional][default to 5] |
|
11
|
-
| **passage_header_font_family** | [**FontFamily**](FontFamily.md) | | [optional][default to 'Helvetica'] |
|
12
|
-
| **passage_body_font_family** | [**FontFamily**](FontFamily.md) | | [optional][default to 'Helvetica'] |
|
13
|
-
| **passage_header_text_color** | **String** | Header text color in hex. Default is `#222222` in light mode & `#f3f3f3` in dark mode. | [optional] |
|
14
|
-
| **passage_body_text_color** | **String** | Body text color in hex. Default is `#222222` in light mode & `#f3f3f3` in dark mode. | [optional] |
|
15
|
-
| **passage_primary_button_background_color** | **String** | Primary button background colour (hex) | [optional][default to '#121212'] |
|
16
|
-
| **passage_primary_button_text_color** | **String** | Primary button font colour (hex) | [optional][default to '#f3f3f3'] |
|
17
|
-
| **passage_primary_button_hover_color** | **String** | Primary button background on hover (hex) | [optional][default to '#4d4d4d'] |
|
18
|
-
| **passage_primary_button_border_radius** | **Integer** | Primary button border radius (px) | [optional][default to 5] |
|
19
|
-
| **passage_primary_button_border_color** | **String** | Primary button border color | [optional][default to '#121212'] |
|
20
|
-
| **passage_primary_button_border_width** | **Integer** | Primary button border width (px) | [optional][default to 0] |
|
21
|
-
| **passage_secondary_button_background_color** | **String** | Secondary button background colour (hex) | [optional][default to '#ffffff'] |
|
22
|
-
| **passage_secondary_button_text_color** | **String** | Secondary button font colour (hex) | [optional][default to '#222222'] |
|
23
|
-
| **passage_secondary_button_hover_color** | **String** | Secondary button background on hover (hex) | [optional][default to '#d7d7d7'] |
|
24
|
-
| **passage_secondary_button_border_radius** | **Integer** | Secondary button border radius (px) | [optional][default to 5] |
|
25
|
-
| **passage_secondary_button_border_color** | **String** | Secondary button border color | [optional][default to '#d7d7d7'] |
|
26
|
-
| **passage_secondary_button_border_width** | **Integer** | Secondary button border width (px) | [optional][default to 1] |
|
27
|
-
|
28
|
-
## Example
|
29
|
-
|
30
|
-
```ruby
|
31
|
-
require 'openapi_client'
|
32
|
-
|
33
|
-
instance = OpenapiClient::ElementCustomization.new(
|
34
|
-
passage_container_background_color: #ffffff,
|
35
|
-
passage_container_max_width: null,
|
36
|
-
passage_input_box_background_color: #ffffff,
|
37
|
-
passage_input_box_border_radius: null,
|
38
|
-
passage_header_font_family: null,
|
39
|
-
passage_body_font_family: null,
|
40
|
-
passage_header_text_color: #222222,
|
41
|
-
passage_body_text_color: #222222,
|
42
|
-
passage_primary_button_background_color: null,
|
43
|
-
passage_primary_button_text_color: null,
|
44
|
-
passage_primary_button_hover_color: null,
|
45
|
-
passage_primary_button_border_radius: null,
|
46
|
-
passage_primary_button_border_color: null,
|
47
|
-
passage_primary_button_border_width: null,
|
48
|
-
passage_secondary_button_background_color: null,
|
49
|
-
passage_secondary_button_text_color: null,
|
50
|
-
passage_secondary_button_hover_color: null,
|
51
|
-
passage_secondary_button_border_radius: null,
|
52
|
-
passage_secondary_button_border_color: null,
|
53
|
-
passage_secondary_button_border_width: null
|
54
|
-
)
|
55
|
-
```
|
56
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# OpenapiClient::GithubUserSocialConnection
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **provider_id** | **String** | The external ID of the Social Connection. | |
|
8
|
-
| **created_at** | **Time** | | |
|
9
|
-
| **last_login_at** | **Time** | | |
|
10
|
-
| **provider_identifier** | **String** | The email of connected social user. | |
|
11
|
-
|
12
|
-
## Example
|
13
|
-
|
14
|
-
```ruby
|
15
|
-
require 'openapi_client'
|
16
|
-
|
17
|
-
instance = OpenapiClient::GithubUserSocialConnection.new(
|
18
|
-
provider_id: null,
|
19
|
-
created_at: null,
|
20
|
-
last_login_at: null,
|
21
|
-
provider_identifier: null
|
22
|
-
)
|
23
|
-
```
|
24
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# OpenapiClient::GoogleUserSocialConnection
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **provider_id** | **String** | The external ID of the Social Connection. | |
|
8
|
-
| **created_at** | **Time** | | |
|
9
|
-
| **last_login_at** | **Time** | | |
|
10
|
-
| **provider_identifier** | **String** | The email of connected social user. | |
|
11
|
-
|
12
|
-
## Example
|
13
|
-
|
14
|
-
```ruby
|
15
|
-
require 'openapi_client'
|
16
|
-
|
17
|
-
instance = OpenapiClient::GoogleUserSocialConnection.new(
|
18
|
-
provider_id: null,
|
19
|
-
created_at: null,
|
20
|
-
last_login_at: null,
|
21
|
-
provider_identifier: null
|
22
|
-
)
|
23
|
-
```
|
24
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# OpenapiClient::LayoutConfig
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **h** | **Integer** | | |
|
8
|
-
| **id** | **String** | | |
|
9
|
-
| **w** | **Integer** | | |
|
10
|
-
| **x** | **Integer** | | |
|
11
|
-
| **y** | **Integer** | | |
|
12
|
-
|
13
|
-
## Example
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require 'openapi_client'
|
17
|
-
|
18
|
-
instance = OpenapiClient::LayoutConfig.new(
|
19
|
-
h: null,
|
20
|
-
id: null,
|
21
|
-
w: null,
|
22
|
-
x: null,
|
23
|
-
y: null
|
24
|
-
)
|
25
|
-
```
|
26
|
-
|
data/docs/generated/Layouts.md
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# OpenapiClient::Layouts
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **profile** | [**Array<LayoutConfig>**](LayoutConfig.md) | | |
|
8
|
-
| **registration** | [**Array<LayoutConfig>**](LayoutConfig.md) | | |
|
9
|
-
|
10
|
-
## Example
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
require 'openapi_client'
|
14
|
-
|
15
|
-
instance = OpenapiClient::Layouts.new(
|
16
|
-
profile: null,
|
17
|
-
registration: null
|
18
|
-
)
|
19
|
-
```
|
20
|
-
|
data/docs/generated/Link.md
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# OpenapiClient::Link
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **href** | **String** | | |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'openapi_client'
|
13
|
-
|
14
|
-
instance = OpenapiClient::Link.new(
|
15
|
-
href: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# OpenapiClient::ListDevicesResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **devices** | [**Array<WebAuthnDevices>**](WebAuthnDevices.md) | | |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'openapi_client'
|
13
|
-
|
14
|
-
instance = OpenapiClient::ListDevicesResponse.new(
|
15
|
-
devices: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,38 +0,0 @@
|
|
1
|
-
# OpenapiClient::ListPaginatedUsersItem
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **created_at** | **Time** | | |
|
8
|
-
| **email** | **String** | | |
|
9
|
-
| **email_verified** | **Boolean** | | |
|
10
|
-
| **id** | **String** | | |
|
11
|
-
| **last_login_at** | **Time** | | |
|
12
|
-
| **login_count** | **Integer** | | |
|
13
|
-
| **phone** | **String** | | |
|
14
|
-
| **phone_verified** | **Boolean** | | |
|
15
|
-
| **status** | [**UserStatus**](UserStatus.md) | | |
|
16
|
-
| **updated_at** | **Time** | | |
|
17
|
-
| **user_metadata** | **Object** | | |
|
18
|
-
|
19
|
-
## Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
require 'openapi_client'
|
23
|
-
|
24
|
-
instance = OpenapiClient::ListPaginatedUsersItem.new(
|
25
|
-
created_at: null,
|
26
|
-
email: null,
|
27
|
-
email_verified: null,
|
28
|
-
id: null,
|
29
|
-
last_login_at: null,
|
30
|
-
login_count: null,
|
31
|
-
phone: null,
|
32
|
-
phone_verified: null,
|
33
|
-
status: null,
|
34
|
-
updated_at: null,
|
35
|
-
user_metadata: null
|
36
|
-
)
|
37
|
-
```
|
38
|
-
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# OpenapiClient::ListPaginatedUsersResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **_links** | [**PaginatedLinks**](PaginatedLinks.md) | | |
|
8
|
-
| **created_before** | **Integer** | time anchor (Unix timestamp) --> all users returned created before this timestamp | |
|
9
|
-
| **limit** | **Integer** | | |
|
10
|
-
| **page** | **Integer** | | |
|
11
|
-
| **total_users** | **Integer** | total number of users for a particular query | |
|
12
|
-
| **users** | [**Array<ListPaginatedUsersItem>**](ListPaginatedUsersItem.md) | | |
|
13
|
-
|
14
|
-
## Example
|
15
|
-
|
16
|
-
```ruby
|
17
|
-
require 'openapi_client'
|
18
|
-
|
19
|
-
instance = OpenapiClient::ListPaginatedUsersResponse.new(
|
20
|
-
_links: null,
|
21
|
-
created_before: null,
|
22
|
-
limit: null,
|
23
|
-
page: null,
|
24
|
-
total_users: null,
|
25
|
-
users: null
|
26
|
-
)
|
27
|
-
```
|
28
|
-
|
data/docs/generated/MagicLink.md
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
# OpenapiClient::MagicLink
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **activated** | **Boolean** | | |
|
8
|
-
| **app_id** | **String** | | |
|
9
|
-
| **id** | **String** | | |
|
10
|
-
| **identifier** | **String** | | |
|
11
|
-
| **redirect_url** | **String** | | |
|
12
|
-
| **secret** | **String** | | |
|
13
|
-
| **ttl** | **Integer** | | |
|
14
|
-
| **type** | [**MagicLinkType**](MagicLinkType.md) | | |
|
15
|
-
| **url** | **String** | | |
|
16
|
-
| **user_id** | **String** | | |
|
17
|
-
|
18
|
-
## Example
|
19
|
-
|
20
|
-
```ruby
|
21
|
-
require 'openapi_client'
|
22
|
-
|
23
|
-
instance = OpenapiClient::MagicLink.new(
|
24
|
-
activated: null,
|
25
|
-
app_id: null,
|
26
|
-
id: null,
|
27
|
-
identifier: null,
|
28
|
-
redirect_url: null,
|
29
|
-
secret: null,
|
30
|
-
ttl: null,
|
31
|
-
type: null,
|
32
|
-
url: null,
|
33
|
-
user_id: null
|
34
|
-
)
|
35
|
-
```
|
36
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# OpenapiClient::MagicLinkAuthMethod
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **enabled** | **Boolean** | | |
|
8
|
-
| **ttl** | **Integer** | Maximum time (IN SECONDS) for the auth to expire. | [default to 300] |
|
9
|
-
| **ttl_display_unit** | [**TtlDisplayUnit**](TtlDisplayUnit.md) | | |
|
10
|
-
|
11
|
-
## Example
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'openapi_client'
|
15
|
-
|
16
|
-
instance = OpenapiClient::MagicLinkAuthMethod.new(
|
17
|
-
enabled: null,
|
18
|
-
ttl: null,
|
19
|
-
ttl_display_unit: null
|
20
|
-
)
|
21
|
-
```
|
22
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# OpenapiClient::MagicLinkChannel
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
|
8
|
-
## Example
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
require 'openapi_client'
|
12
|
-
|
13
|
-
instance = OpenapiClient::MagicLinkChannel.new()
|
14
|
-
```
|
15
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# OpenapiClient::MagicLinkResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **magic_link** | [**MagicLink**](MagicLink.md) | | |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'openapi_client'
|
13
|
-
|
14
|
-
instance = OpenapiClient::MagicLinkResponse.new(
|
15
|
-
magic_link: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|