Module: OpenapiClient

Defined in:
lib/openapi_client/version.rb,
lib/openapi_client.rb,
lib/openapi_client/api_error.rb,
lib/openapi_client/api_client.rb,
lib/openapi_client/models/link.rb,
lib/openapi_client/api/apps_api.rb,
lib/openapi_client/models/nonce.rb,
lib/openapi_client/api/users_api.rb,
lib/openapi_client/configuration.rb,
lib/models/update_otp_auth_method.rb,
lib/openapi_client/api/tokens_api.rb,
lib/openapi_client/models/layouts.rb,
lib/openapi_client/models/app_info.rb,
lib/openapi_client/models/user_info.rb,
lib/openapi_client/models/magic_link.rb,
lib/openapi_client/models/font_family.rb,
lib/openapi_client/models/user_status.rb,
lib/models/update_passkeys_auth_method.rb,
lib/openapi_client/api/magic_links_api.rb,
lib/openapi_client/models/app_response.rb,
lib/openapi_client/models/auth_methods.rb,
lib/openapi_client/models/technologies.rb,
lib/openapi_client/api/user_devices_api.rb,
lib/openapi_client/models/layout_config.rb,
lib/openapi_client/models/user_response.rb,
lib/models/update_magic_link_auth_method.rb,
lib/openapi_client/models/model400_error.rb,
lib/openapi_client/models/model401_error.rb,
lib/openapi_client/models/model403_error.rb,
lib/openapi_client/models/model404_error.rb,
lib/openapi_client/models/model500_error.rb,
lib/openapi_client/models/web_authn_type.rb,
lib/openapi_client/models/magic_link_type.rb,
lib/openapi_client/models/otp_auth_method.rb,
lib/openapi_client/models/paginated_links.rb,
lib/openapi_client/models/web_authn_icons.rb,
lib/openapi_client/models/ttl_display_unit.rb,
lib/openapi_client/models/user_event_status.rb,
lib/openapi_client/models/user_recent_event.rb,
lib/openapi_client/models/web_authn_devices.rb,
lib/openapi_client/models/magic_link_channel.rb,
lib/openapi_client/models/create_user_request.rb,
lib/openapi_client/models/magic_link_response.rb,
lib/openapi_client/models/update_user_request.rb,
lib/openapi_client/models/user_metadata_field.rb,
lib/openapi_client/models/passkeys_auth_method.rb,
lib/openapi_client/models/element_customization.rb,
lib/openapi_client/models/list_devices_response.rb,
lib/openapi_client/models/magic_link_auth_method.rb,
lib/openapi_client/models/user_social_connections.rb,
lib/openapi_client/models/user_metadata_field_type.rb,
lib/openapi_client/models/create_magic_link_request.rb,
lib/openapi_client/models/list_paginated_users_item.rb,
lib/openapi_client/models/apple_user_social_connection.rb,
lib/openapi_client/models/github_user_social_connection.rb,
lib/openapi_client/models/google_user_social_connection.rb,
lib/openapi_client/models/list_paginated_users_response.rb

Overview

#Passage Management API

#Passage’s management API to manage your Passage apps and users.

The version of the OpenAPI document: 1 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 7.1.0

Defined Under Namespace

Classes: ApiClient, ApiError, AppInfo, AppResponse, AppleUserSocialConnection, AppsApi, AuthMethods, Configuration, CreateMagicLinkRequest, CreateUserRequest, ElementCustomization, FontFamily, GithubUserSocialConnection, GoogleUserSocialConnection, LayoutConfig, Layouts, Link, ListDevicesResponse, ListPaginatedUsersItem, ListPaginatedUsersResponse, MagicLink, MagicLinkAuthMethod, MagicLinkChannel, MagicLinkResponse, MagicLinkType, MagicLinksApi, Model400Error, Model401Error, Model403Error, Model404Error, Model500Error, Nonce, OtpAuthMethod, PaginatedLinks, PasskeysAuthMethod, Technologies, TokensApi, TtlDisplayUnit, UpdateMagicLinkAuthMethod, UpdateOtpAuthMethod, UpdatePasskeysAuthMethod, UpdateUserRequest, UserDevicesApi, UserEventStatus, UserInfo, UserMetadataField, UserMetadataFieldType, UserRecentEvent, UserResponse, UserSocialConnections, UserStatus, UsersApi, WebAuthnDevices, WebAuthnIcons, WebAuthnType

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

OpenapiClient.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



83
84
85
86
87
88
89
# File 'lib/openapi_client.rb', line 83

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end