├── .bin ├── go-licenses ├── license-engine.sh ├── license-template-go.tpl ├── licenses └── list-licenses ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── BUG-REPORT.yml │ ├── DESIGN-DOC.yml │ ├── FEATURE-REQUEST.yml │ └── config.yml ├── auto_assign.yml ├── config.yml ├── pull_request_template.md └── workflows │ ├── closed_references.yml │ ├── conventional_commits.yml │ ├── labels.yml │ ├── licenses.yml │ └── stale.yml ├── .gitignore ├── .openapi-generator-ignore ├── .openapi-generator ├── FILES └── VERSION ├── .reference-ignore ├── .reports └── dep-licenses.csv ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── api └── openapi.yaml ├── api_courier.go ├── api_frontend.go ├── api_identity.go ├── api_metadata.go ├── client.go ├── configuration.go ├── docs ├── AuthenticatorAssuranceLevel.md ├── BatchPatchIdentitiesResponse.md ├── ConsistencyRequestParameters.md ├── ContinueWith.md ├── ContinueWithRecoveryUi.md ├── ContinueWithRecoveryUiFlow.md ├── ContinueWithRedirectBrowserTo.md ├── ContinueWithSetOrySessionToken.md ├── ContinueWithSettingsUi.md ├── ContinueWithSettingsUiFlow.md ├── ContinueWithVerificationUi.md ├── ContinueWithVerificationUiFlow.md ├── CourierAPI.md ├── CourierMessageStatus.md ├── CourierMessageType.md ├── CreateFedcmFlowResponse.md ├── CreateIdentityBody.md ├── CreateRecoveryCodeForIdentityBody.md ├── CreateRecoveryLinkForIdentityBody.md ├── DeleteMySessionsCount.md ├── ErrorAuthenticatorAssuranceLevelNotSatisfied.md ├── ErrorBrowserLocationChangeRequired.md ├── ErrorFlowReplaced.md ├── ErrorGeneric.md ├── FlowError.md ├── FrontendAPI.md ├── GenericError.md ├── GetVersion200Response.md ├── HealthNotReadyStatus.md ├── HealthStatus.md ├── Identity.md ├── IdentityAPI.md ├── IdentityCredentials.md ├── IdentityCredentialsCode.md ├── IdentityCredentialsCodeAddress.md ├── IdentityCredentialsOidc.md ├── IdentityCredentialsOidcProvider.md ├── IdentityCredentialsPassword.md ├── IdentityPatch.md ├── IdentityPatchResponse.md ├── IdentitySchemaContainer.md ├── IdentityWithCredentials.md ├── IdentityWithCredentialsOidc.md ├── IdentityWithCredentialsOidcConfig.md ├── IdentityWithCredentialsOidcConfigProvider.md ├── IdentityWithCredentialsPassword.md ├── IdentityWithCredentialsPasswordConfig.md ├── IsAlive200Response.md ├── IsReady503Response.md ├── JsonPatch.md ├── LoginFlow.md ├── LoginFlowState.md ├── LogoutFlow.md ├── Message.md ├── MessageDispatch.md ├── MetadataAPI.md ├── NeedsPrivilegedSessionError.md ├── OAuth2Client.md ├── OAuth2ConsentRequestOpenIDConnectContext.md ├── OAuth2LoginRequest.md ├── PatchIdentitiesBody.md ├── PerformNativeLogoutBody.md ├── Provider.md ├── RecoveryCodeForIdentity.md ├── RecoveryFlow.md ├── RecoveryFlowState.md ├── RecoveryIdentityAddress.md ├── RecoveryLinkForIdentity.md ├── RegistrationFlow.md ├── RegistrationFlowState.md ├── SelfServiceFlowExpiredError.md ├── Session.md ├── SessionAuthenticationMethod.md ├── SessionDevice.md ├── SettingsFlow.md ├── SettingsFlowState.md ├── SuccessfulCodeExchangeResponse.md ├── SuccessfulNativeLogin.md ├── SuccessfulNativeRegistration.md ├── TokenPagination.md ├── TokenPaginationHeaders.md ├── UiContainer.md ├── UiNode.md ├── UiNodeAnchorAttributes.md ├── UiNodeAttributes.md ├── UiNodeImageAttributes.md ├── UiNodeInputAttributes.md ├── UiNodeMeta.md ├── UiNodeScriptAttributes.md ├── UiNodeTextAttributes.md ├── UiText.md ├── UpdateFedcmFlowBody.md ├── UpdateIdentityBody.md ├── UpdateLoginFlowBody.md ├── UpdateLoginFlowWithCodeMethod.md ├── UpdateLoginFlowWithIdentifierFirstMethod.md ├── UpdateLoginFlowWithLookupSecretMethod.md ├── UpdateLoginFlowWithOidcMethod.md ├── UpdateLoginFlowWithPasskeyMethod.md ├── UpdateLoginFlowWithPasswordMethod.md ├── UpdateLoginFlowWithTotpMethod.md ├── UpdateLoginFlowWithWebAuthnMethod.md ├── UpdateRecoveryFlowBody.md ├── UpdateRecoveryFlowWithCodeMethod.md ├── UpdateRecoveryFlowWithLinkMethod.md ├── UpdateRegistrationFlowBody.md ├── UpdateRegistrationFlowWithCodeMethod.md ├── UpdateRegistrationFlowWithOidcMethod.md ├── UpdateRegistrationFlowWithPasskeyMethod.md ├── UpdateRegistrationFlowWithPasswordMethod.md ├── UpdateRegistrationFlowWithProfileMethod.md ├── UpdateRegistrationFlowWithWebAuthnMethod.md ├── UpdateSettingsFlowBody.md ├── UpdateSettingsFlowWithLookupMethod.md ├── UpdateSettingsFlowWithOidcMethod.md ├── UpdateSettingsFlowWithPasskeyMethod.md ├── UpdateSettingsFlowWithPasswordMethod.md ├── UpdateSettingsFlowWithProfileMethod.md ├── UpdateSettingsFlowWithTotpMethod.md ├── UpdateSettingsFlowWithWebAuthnMethod.md ├── UpdateVerificationFlowBody.md ├── UpdateVerificationFlowWithCodeMethod.md ├── UpdateVerificationFlowWithLinkMethod.md ├── VerifiableIdentityAddress.md ├── VerificationFlow.md ├── VerificationFlowState.md └── Version.md ├── git_push.sh ├── go.mod ├── go.sum ├── model_authenticator_assurance_level.go ├── model_batch_patch_identities_response.go ├── model_consistency_request_parameters.go ├── model_continue_with.go ├── model_continue_with_recovery_ui.go ├── model_continue_with_recovery_ui_flow.go ├── model_continue_with_redirect_browser_to.go ├── model_continue_with_set_ory_session_token.go ├── model_continue_with_settings_ui.go ├── model_continue_with_settings_ui_flow.go ├── model_continue_with_verification_ui.go ├── model_continue_with_verification_ui_flow.go ├── model_courier_message_status.go ├── model_courier_message_type.go ├── model_create_fedcm_flow_response.go ├── model_create_identity_body.go ├── model_create_recovery_code_for_identity_body.go ├── model_create_recovery_link_for_identity_body.go ├── model_delete_my_sessions_count.go ├── model_error_authenticator_assurance_level_not_satisfied.go ├── model_error_browser_location_change_required.go ├── model_error_flow_replaced.go ├── model_error_generic.go ├── model_flow_error.go ├── model_generic_error.go ├── model_get_version_200_response.go ├── model_health_not_ready_status.go ├── model_health_status.go ├── model_identity.go ├── model_identity_credentials.go ├── model_identity_credentials_code.go ├── model_identity_credentials_code_address.go ├── model_identity_credentials_oidc.go ├── model_identity_credentials_oidc_provider.go ├── model_identity_credentials_password.go ├── model_identity_patch.go ├── model_identity_patch_response.go ├── model_identity_schema_container.go ├── model_identity_with_credentials.go ├── model_identity_with_credentials_oidc.go ├── model_identity_with_credentials_oidc_config.go ├── model_identity_with_credentials_oidc_config_provider.go ├── model_identity_with_credentials_password.go ├── model_identity_with_credentials_password_config.go ├── model_is_alive_200_response.go ├── model_is_ready_503_response.go ├── model_json_patch.go ├── model_login_flow.go ├── model_login_flow_state.go ├── model_logout_flow.go ├── model_message.go ├── model_message_dispatch.go ├── model_needs_privileged_session_error.go ├── model_o_auth2_client.go ├── model_o_auth2_consent_request_open_id_connect_context.go ├── model_o_auth2_login_request.go ├── model_patch_identities_body.go ├── model_perform_native_logout_body.go ├── model_provider.go ├── model_recovery_code_for_identity.go ├── model_recovery_flow.go ├── model_recovery_flow_state.go ├── model_recovery_identity_address.go ├── model_recovery_link_for_identity.go ├── model_registration_flow.go ├── model_registration_flow_state.go ├── model_self_service_flow_expired_error.go ├── model_session.go ├── model_session_authentication_method.go ├── model_session_device.go ├── model_settings_flow.go ├── model_settings_flow_state.go ├── model_successful_code_exchange_response.go ├── model_successful_native_login.go ├── model_successful_native_registration.go ├── model_token_pagination.go ├── model_token_pagination_headers.go ├── model_ui_container.go ├── model_ui_node.go ├── model_ui_node_anchor_attributes.go ├── model_ui_node_attributes.go ├── model_ui_node_image_attributes.go ├── model_ui_node_input_attributes.go ├── model_ui_node_meta.go ├── model_ui_node_script_attributes.go ├── model_ui_node_text_attributes.go ├── model_ui_text.go ├── model_update_fedcm_flow_body.go ├── model_update_identity_body.go ├── model_update_login_flow_body.go ├── model_update_login_flow_with_code_method.go ├── model_update_login_flow_with_identifier_first_method.go ├── model_update_login_flow_with_lookup_secret_method.go ├── model_update_login_flow_with_oidc_method.go ├── model_update_login_flow_with_passkey_method.go ├── model_update_login_flow_with_password_method.go ├── model_update_login_flow_with_totp_method.go ├── model_update_login_flow_with_web_authn_method.go ├── model_update_recovery_flow_body.go ├── model_update_recovery_flow_with_code_method.go ├── model_update_recovery_flow_with_link_method.go ├── model_update_registration_flow_body.go ├── model_update_registration_flow_with_code_method.go ├── model_update_registration_flow_with_oidc_method.go ├── model_update_registration_flow_with_passkey_method.go ├── model_update_registration_flow_with_password_method.go ├── model_update_registration_flow_with_profile_method.go ├── model_update_registration_flow_with_web_authn_method.go ├── model_update_settings_flow_body.go ├── model_update_settings_flow_with_lookup_method.go ├── model_update_settings_flow_with_oidc_method.go ├── model_update_settings_flow_with_passkey_method.go ├── model_update_settings_flow_with_password_method.go ├── model_update_settings_flow_with_profile_method.go ├── model_update_settings_flow_with_totp_method.go ├── model_update_settings_flow_with_web_authn_method.go ├── model_update_verification_flow_body.go ├── model_update_verification_flow_with_code_method.go ├── model_update_verification_flow_with_link_method.go ├── model_verifiable_identity_address.go ├── model_verification_flow.go ├── model_verification_flow_state.go ├── model_version.go ├── response.go ├── test ├── api_courier_test.go ├── api_frontend_test.go ├── api_identity_test.go └── api_metadata_test.go └── utils.go /.bin/go-licenses: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ory/kratos-client-go/b274bf817db8c69facc1b8e861d4fecc5cb3c69a/.bin/go-licenses -------------------------------------------------------------------------------- /.bin/license-template-go.tpl: -------------------------------------------------------------------------------- 1 | {{ range . }} 2 | "{{.Name}}","{{.LicenseName}}" 3 | {{- end }} 4 | -------------------------------------------------------------------------------- /.bin/licenses: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | # Get the directory where this script is located 5 | bin_dir="$(cd "$(dirname "$0")" && pwd)" 6 | 7 | { echo "Checking licenses ..."; } 2>/dev/null 8 | "${bin_dir}/list-licenses" | "${bin_dir}/license-engine.sh" 9 | -------------------------------------------------------------------------------- /.bin/list-licenses: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | bin_dir="$(cd "$(dirname "$0")" && pwd)" 5 | 6 | # list Node licenses 7 | if [ -f package.json ]; then 8 | if jq -e '.dependencies and (.dependencies | keys | length > 0)' package.json >/dev/null; then 9 | npx --yes license-checker --production --csv --excludePrivatePackages --customPath "${bin_dir}"/license-template-node.json | grep -v '^$' 10 | echo 11 | else 12 | echo "No dependencies found in package.json" >&2 13 | echo 14 | fi 15 | fi 16 | 17 | # list Go licenses 18 | if [ -f go.mod ]; then 19 | # List all direct Go module dependencies, transform their paths to root module paths 20 | # (e.g., github.com/ory/x instead of github.com/ory/x/foo/bar), and generate a license report 21 | # for each unique root module. This ensures that the license report is generated for the root 22 | # module of a repository, where licenses are typically defined. 23 | go_modules=$( 24 | go list -f "{{if not .Indirect}}{{.Path}}{{end}}" -m ... | 25 | sort -u | 26 | awk -F/ '{ if ($1 == "github.com" && NF >= 3) { print $1"/"$2"/"$3 } else { print } }' | 27 | sort -u 28 | ) 29 | if [ -z "$go_modules" ]; then 30 | echo "No Go modules found" >&2 31 | else 32 | # Workaround until https://github.com/google/go-licenses/issues/307 is fixed 33 | # .bin/go-licenses report "$module_name" --template .bin/license-template-go.tpl 2>/dev/null 34 | # 35 | echo "$go_modules" | xargs -I {} sh -c '.bin/go-licenses report --template .bin/license-template-go.tpl {}' | grep -v '^$' 36 | echo 37 | fi 38 | fi 39 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/FUNDING.yml 3 | 4 | # These are supported funding model platforms 5 | 6 | # github: 7 | patreon: _ory 8 | open_collective: ory 9 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml 3 | 4 | description: 5 | "Suggest an idea for this project without a plan for implementation" 6 | labels: 7 | - feat 8 | name: "Feature Request" 9 | body: 10 | - attributes: 11 | value: | 12 | Thank you for suggesting an idea for this project! 13 | 14 | If you already have a plan to implement a feature or a change, please create a [design document](https://github.com/aeneasr/gh-template-test/issues/new?assignees=&labels=rfc&template=DESIGN-DOC.yml) instead if the change is non-trivial! 15 | type: markdown 16 | - attributes: 17 | label: "Preflight checklist" 18 | options: 19 | - label: 20 | "I could not find a solution in the existing issues, docs, nor 21 | discussions." 22 | required: true 23 | - label: 24 | "I agree to follow this project's [Code of 25 | Conduct](https://github.com/ory/kratos-client-go/blob/master/CODE_OF_CONDUCT.md)." 26 | required: true 27 | - label: 28 | "I have read and am following this repository's [Contribution 29 | Guidelines](https://github.com/ory/kratos-client-go/blob/master/CONTRIBUTING.md)." 30 | required: true 31 | - label: 32 | "I have joined the [Ory Community Slack](https://slack.ory.sh)." 33 | - label: 34 | "I am signed up to the [Ory Security Patch 35 | Newsletter](https://www.ory.sh/l/sign-up-newsletter)." 36 | id: checklist 37 | type: checkboxes 38 | - attributes: 39 | description: 40 | "Enter the slug or API URL of the affected Ory Network project. Leave 41 | empty when you are self-hosting." 42 | label: "Ory Network Project" 43 | placeholder: "https://.projects.oryapis.com" 44 | id: ory-network-project 45 | type: input 46 | - attributes: 47 | description: 48 | "Is your feature request related to a problem? Please describe." 49 | label: "Describe your problem" 50 | placeholder: 51 | "A clear and concise description of what the problem is. Ex. I'm always 52 | frustrated when [...]" 53 | id: problem 54 | type: textarea 55 | validations: 56 | required: true 57 | - attributes: 58 | description: | 59 | Describe the solution you'd like 60 | placeholder: | 61 | A clear and concise description of what you want to happen. 62 | label: "Describe your ideal solution" 63 | id: solution 64 | type: textarea 65 | validations: 66 | required: true 67 | - attributes: 68 | description: "Describe alternatives you've considered" 69 | label: "Workarounds or alternatives" 70 | id: alternatives 71 | type: textarea 72 | validations: 73 | required: true 74 | - attributes: 75 | description: "What version of our software are you running?" 76 | label: Version 77 | id: version 78 | type: input 79 | validations: 80 | required: true 81 | - attributes: 82 | description: 83 | "Add any other context or screenshots about the feature request here." 84 | label: Additional Context 85 | id: additional 86 | type: textarea 87 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/config.yml 3 | 4 | blank_issues_enabled: false 5 | contact_links: 6 | - name: Ory Ory Kratos Go Client Forum 7 | url: https://github.com/orgs/ory/discussions 8 | about: 9 | Please ask and answer questions here, show your implementations and 10 | discuss ideas. 11 | - name: Ory Chat 12 | url: https://www.ory.sh/chat 13 | about: 14 | Hang out with other Ory community members to ask and answer questions. 15 | -------------------------------------------------------------------------------- /.github/auto_assign.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/auto_assign.yml 3 | 4 | # Set to true to add reviewers to pull requests 5 | addReviewers: true 6 | 7 | # Set to true to add assignees to pull requests 8 | addAssignees: true 9 | 10 | # A list of reviewers to be added to pull requests (GitHub user name) 11 | assignees: 12 | - ory/maintainers 13 | 14 | # A number of reviewers added to the pull request 15 | # Set 0 to add all the reviewers (default: 0) 16 | numberOfReviewers: 0 17 | -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/config.yml 3 | 4 | todo: 5 | keyword: "@todo" 6 | label: todo 7 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | 12 | 13 | ## Related Issue or Design Document 14 | 15 | 29 | 30 | ## Checklist 31 | 32 | 36 | 37 | - [ ] I have read the [contributing guidelines](../blob/master/CONTRIBUTING.md) and signed the CLA. 38 | - [ ] I have referenced an issue containing the design document if my change introduces a new feature. 39 | - [ ] I have read the [security policy](../security/policy). 40 | - [ ] I confirm that this pull request does not address a security vulnerability. 41 | If this pull request addresses a security vulnerability, 42 | I confirm that I got approval (please contact [security@ory.sh](mailto:security@ory.sh)) from the maintainers to push the changes. 43 | - [ ] I have added tests that prove my fix is effective or that my feature works. 44 | - [ ] I have added the necessary documentation within the code base (if appropriate). 45 | 46 | ## Further comments 47 | 48 | 52 | -------------------------------------------------------------------------------- /.github/workflows/closed_references.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/closed_references.yml 3 | 4 | name: Closed Reference Notifier 5 | 6 | on: 7 | schedule: 8 | - cron: "0 0 * * *" 9 | workflow_dispatch: 10 | inputs: 11 | issueLimit: 12 | description: Max. number of issues to create 13 | required: true 14 | default: "5" 15 | 16 | jobs: 17 | find_closed_references: 18 | if: github.repository_owner == 'ory' 19 | runs-on: ubuntu-latest 20 | name: Find closed references 21 | steps: 22 | - uses: actions/checkout@v2 23 | - uses: actions/setup-node@v2-beta 24 | with: 25 | node-version: "14" 26 | - uses: ory/closed-reference-notifier@v1 27 | with: 28 | token: ${{ secrets.GITHUB_TOKEN }} 29 | issueLabels: upstream,good first issue,help wanted 30 | issueLimit: ${{ github.event.inputs.issueLimit || '5' }} 31 | -------------------------------------------------------------------------------- /.github/workflows/conventional_commits.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/conventional_commits.yml 3 | 4 | name: Conventional commits 5 | 6 | # This GitHub CI Action enforces that pull request titles follow conventional commits. 7 | # More info at https://www.conventionalcommits.org. 8 | # 9 | # The Ory-wide defaults for commit titles and scopes are below. 10 | # Your repository can add/replace elements via a configuration file at the path below. 11 | # More info at https://github.com/ory/ci/blob/master/conventional_commit_config/README.md 12 | 13 | on: 14 | pull_request_target: 15 | types: 16 | - edited 17 | - opened 18 | - ready_for_review 19 | - reopened 20 | # pull_request: # for debugging, uses config in local branch but supports only Pull Requests from this repo 21 | 22 | jobs: 23 | main: 24 | name: Validate PR title 25 | runs-on: ubuntu-latest 26 | steps: 27 | - uses: actions/checkout@v3 28 | - id: config 29 | uses: ory/ci/conventional_commit_config@master 30 | with: 31 | config_path: .github/conventional_commits.json 32 | default_types: | 33 | feat 34 | fix 35 | revert 36 | docs 37 | style 38 | refactor 39 | test 40 | build 41 | autogen 42 | security 43 | ci 44 | chore 45 | default_scopes: | 46 | deps 47 | docs 48 | default_require_scope: false 49 | - uses: amannn/action-semantic-pull-request@v4 50 | env: 51 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 52 | with: 53 | types: ${{ steps.config.outputs.types }} 54 | scopes: ${{ steps.config.outputs.scopes }} 55 | requireScope: ${{ steps.config.outputs.requireScope }} 56 | subjectPattern: ^(?![A-Z]).+$ 57 | subjectPatternError: | 58 | The subject should start with a lowercase letter, yours is uppercase: 59 | "{subject}" 60 | -------------------------------------------------------------------------------- /.github/workflows/labels.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/labels.yml 3 | 4 | name: Synchronize Issue Labels 5 | 6 | on: 7 | workflow_dispatch: 8 | push: 9 | branches: 10 | - master 11 | 12 | jobs: 13 | milestone: 14 | if: github.repository_owner == 'ory' 15 | name: Synchronize Issue Labels 16 | runs-on: ubuntu-latest 17 | steps: 18 | - name: Checkout 19 | uses: actions/checkout@v2 20 | - name: Synchronize Issue Labels 21 | uses: ory/label-sync-action@v0 22 | with: 23 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 24 | dry: false 25 | forced: true 26 | -------------------------------------------------------------------------------- /.github/workflows/licenses.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/licenses.yml 3 | 4 | name: Licenses 5 | 6 | on: 7 | pull_request: 8 | push: 9 | branches: 10 | - main 11 | - v3 12 | - master 13 | 14 | jobs: 15 | licenses: 16 | name: License compliance 17 | runs-on: ubuntu-latest 18 | steps: 19 | - name: Install script 20 | uses: ory/ci/licenses/setup@master 21 | with: 22 | token: ${{ secrets.ORY_BOT_PAT || secrets.GITHUB_TOKEN }} 23 | - name: Check licenses 24 | uses: ory/ci/licenses/check@master 25 | - name: Write, commit, push licenses 26 | uses: ory/ci/licenses/write@master 27 | if: 28 | ${{ github.ref == 'refs/heads/main' || github.ref == 29 | 'refs/heads/master' || github.ref == 'refs/heads/v3' }} 30 | with: 31 | author-email: 32 | ${{ secrets.ORY_BOT_PAT && 33 | '60093411+ory-bot@users.noreply.github.com' || 34 | format('{0}@users.noreply.github.com', github.actor) }} 35 | author-name: ${{ secrets.ORY_BOT_PAT && 'ory-bot' || github.actor }} 36 | -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/stale.yml 3 | 4 | name: "Close Stale Issues" 5 | on: 6 | workflow_dispatch: 7 | schedule: 8 | - cron: "0 0 * * *" 9 | 10 | jobs: 11 | stale: 12 | if: github.repository_owner == 'ory' 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/stale@v4 16 | with: 17 | repo-token: ${{ secrets.GITHUB_TOKEN }} 18 | stale-issue-message: | 19 | Hello contributors! 20 | 21 | I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue 22 | 23 | - open a PR referencing and resolving the issue; 24 | - leave a comment on it and discuss ideas on how you could contribute towards resolving it; 25 | - leave a comment and describe in detail why this issue is critical for your use case; 26 | - open a new issue with updated details and a plan for resolving the issue. 27 | 28 | Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic. 29 | 30 | Unfortunately, [burnout](https://www.jeffgeerling.com/blog/2016/why-i-close-prs-oss-project-maintainer-notes) has become a [topic](https://opensource.guide/best-practices/#its-okay-to-hit-pause) of [concern](https://docs.brew.sh/Maintainers-Avoiding-Burnout) amongst open-source projects. 31 | 32 | It can lead to severe personal and health issues as well as [opening](https://haacked.com/archive/2019/05/28/maintainer-burnout/) catastrophic [attack vectors](https://www.gradiant.org/en/blog/open-source-maintainer-burnout-as-an-attack-surface/). 33 | 34 | The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone. 35 | 36 | If this issue was marked as stale erroneously you can exempt it by adding the `backlog` label, assigning someone, or setting a milestone for it. 37 | 38 | Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you! 39 | 40 | Thank you 🙏✌️ 41 | stale-issue-label: "stale" 42 | exempt-issue-labels: "bug,blocking,docs,backlog" 43 | days-before-stale: 365 44 | days-before-close: 30 45 | exempt-milestones: true 46 | exempt-assignees: true 47 | only-pr-labels: "stale" 48 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /.openapi-generator-ignore: -------------------------------------------------------------------------------- 1 | # OpenAPI Generator Ignore 2 | # Generated by openapi-generator https://github.com/openapitools/openapi-generator 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 7.6.0 2 | -------------------------------------------------------------------------------- /.reference-ignore: -------------------------------------------------------------------------------- 1 | **/node_modules 2 | docs 3 | CHANGELOG.md 4 | -------------------------------------------------------------------------------- /.reports/dep-licenses.csv: -------------------------------------------------------------------------------- 1 | "github.com/stretchr/testify","MIT" 2 | 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | install: 4 | - go get -d -v . 5 | 6 | script: 7 | - go build -v ./ 8 | 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ory/kratos-client-go 2 | 3 | This is the official Ory Kratos SDK for go. 4 | 5 | ## Ory Self-Hosted 6 | 7 | This SDK is for use with self-hosted Ory Kratos. 8 | If you are developing against Ory Network, please use the [Ory Network SDK](https://www.ory.sh/docs/sdk). 9 | 10 | 11 | 12 | Please do not make any pull requests against this repository! Its contents are 13 | fully auto-generated by the [ory/sdk](http://github.com/ory/sdk) repository. Any 14 | changes to this repository will be overwritten on the next CI run! 15 | 16 | ## Installation 17 | 18 | package repository is missing, please open an issue about this. 19 | 20 | ## Documentation 21 | 22 | - [Ory Network](https://www.ory.sh/docs/sdk) 23 | - [Ory Hydra](https://www.ory.sh/hydra/docs/sdk) 24 | - [Ory Kratos](https://www.ory.sh/kratos/docs/sdk) 25 | - [Ory Keto](https://www.ory.sh/keto/docs/sdk) 26 | - [Ory Oathkeeper](https://www.ory.sh/oathkeeper/docs/sdk) 27 | 28 | ## Generation 29 | 30 | This code base, including this README, is auto-generated using 31 | [OpenAPI Generator](https://openapi-generator.tech). If you find bugs in the SDK 32 | please check if there is an open issue at 33 | [OpenAPITools/openapi-generator](https://github.com/OpenAPITools/openapi-generator) 34 | or [ory/sdk](http://github.com/ory/sdk) already before opening an issue here. 35 | 36 | ## Feedback 37 | 38 | If you have feedback on how to improve the Ory SDK or are 39 | [looking to contribute](https://www.ory.sh/docs/ecosystem/contributing), please 40 | [open an issue](https://github.com/ory/sdk/issues/new/choose) in `ory/sdk` to 41 | discuss your ideas. 42 | 43 | Thanks for being a part of the Ory community! 44 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | # Ory Security Policy 5 | 6 | This policy outlines Ory's security commitments and practices for users across 7 | different licensing and deployment models. 8 | 9 | To learn more about Ory's security service level agreements (SLAs) and 10 | processes, please [contact us](https://www.ory.sh/contact/). 11 | 12 | ## Ory Network Users 13 | 14 | - **Security SLA:** Ory addresses vulnerabilities in the Ory Network according 15 | to the following guidelines: 16 | - Critical: Typically addressed within 14 days. 17 | - High: Typically addressed within 30 days. 18 | - Medium: Typically addressed within 90 days. 19 | - Low: Typically addressed within 180 days. 20 | - Informational: Addressed as necessary. 21 | These timelines are targets and may vary based on specific circumstances. 22 | - **Release Schedule:** Updates are deployed to the Ory Network as 23 | vulnerabilities are resolved. 24 | - **Version Support:** The Ory Network always runs the latest version, ensuring 25 | up-to-date security fixes. 26 | 27 | ## Ory Enterprise License Customers 28 | 29 | - **Security SLA:** Ory addresses vulnerabilities based on their severity: 30 | - Critical: Typically addressed within 14 days. 31 | - High: Typically addressed within 30 days. 32 | - Medium: Typically addressed within 90 days. 33 | - Low: Typically addressed within 180 days. 34 | - Informational: Addressed as necessary. 35 | These timelines are targets and may vary based on specific circumstances. 36 | - **Release Schedule:** Updates are made available as vulnerabilities are 37 | resolved. Ory works closely with enterprise customers to ensure timely updates 38 | that align with their operational needs. 39 | - **Version Support:** Ory may provide security support for multiple versions, 40 | depending on the terms of the enterprise agreement. 41 | 42 | ## Apache 2.0 License Users 43 | 44 | - **Security SLA:** Ory does not provide a formal SLA for security issues under 45 | the Apache 2.0 License. 46 | - **Release Schedule:** Releases prioritize new functionality and include fixes 47 | for known security vulnerabilities at the time of release. While major 48 | releases typically occur one to two times per year, Ory does not guarantee a 49 | fixed release schedule. 50 | - **Version Support:** Security patches are only provided for the latest release 51 | version. 52 | 53 | ## Reporting a Vulnerability 54 | 55 | For details on how to report security vulnerabilities, visit our 56 | [security policy documentation](https://www.ory.sh/docs/ecosystem/security). 57 | -------------------------------------------------------------------------------- /docs/AuthenticatorAssuranceLevel.md: -------------------------------------------------------------------------------- 1 | # AuthenticatorAssuranceLevel 2 | 3 | ## Enum 4 | 5 | 6 | * `AAL0` (value: `"aal0"`) 7 | 8 | * `AAL1` (value: `"aal1"`) 9 | 10 | * `AAL2` (value: `"aal2"`) 11 | 12 | * `AAL3` (value: `"aal3"`) 13 | 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/BatchPatchIdentitiesResponse.md: -------------------------------------------------------------------------------- 1 | # BatchPatchIdentitiesResponse 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Identities** | Pointer to [**[]IdentityPatchResponse**](IdentityPatchResponse.md) | The patch responses for the individual identities. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewBatchPatchIdentitiesResponse 12 | 13 | `func NewBatchPatchIdentitiesResponse() *BatchPatchIdentitiesResponse` 14 | 15 | NewBatchPatchIdentitiesResponse instantiates a new BatchPatchIdentitiesResponse object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewBatchPatchIdentitiesResponseWithDefaults 21 | 22 | `func NewBatchPatchIdentitiesResponseWithDefaults() *BatchPatchIdentitiesResponse` 23 | 24 | NewBatchPatchIdentitiesResponseWithDefaults instantiates a new BatchPatchIdentitiesResponse object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetIdentities 29 | 30 | `func (o *BatchPatchIdentitiesResponse) GetIdentities() []IdentityPatchResponse` 31 | 32 | GetIdentities returns the Identities field if non-nil, zero value otherwise. 33 | 34 | ### GetIdentitiesOk 35 | 36 | `func (o *BatchPatchIdentitiesResponse) GetIdentitiesOk() (*[]IdentityPatchResponse, bool)` 37 | 38 | GetIdentitiesOk returns a tuple with the Identities field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetIdentities 42 | 43 | `func (o *BatchPatchIdentitiesResponse) SetIdentities(v []IdentityPatchResponse)` 44 | 45 | SetIdentities sets Identities field to given value. 46 | 47 | ### HasIdentities 48 | 49 | `func (o *BatchPatchIdentitiesResponse) HasIdentities() bool` 50 | 51 | HasIdentities returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/ConsistencyRequestParameters.md: -------------------------------------------------------------------------------- 1 | # ConsistencyRequestParameters 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Consistency** | Pointer to **string** | Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewConsistencyRequestParameters 12 | 13 | `func NewConsistencyRequestParameters() *ConsistencyRequestParameters` 14 | 15 | NewConsistencyRequestParameters instantiates a new ConsistencyRequestParameters object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewConsistencyRequestParametersWithDefaults 21 | 22 | `func NewConsistencyRequestParametersWithDefaults() *ConsistencyRequestParameters` 23 | 24 | NewConsistencyRequestParametersWithDefaults instantiates a new ConsistencyRequestParameters object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetConsistency 29 | 30 | `func (o *ConsistencyRequestParameters) GetConsistency() string` 31 | 32 | GetConsistency returns the Consistency field if non-nil, zero value otherwise. 33 | 34 | ### GetConsistencyOk 35 | 36 | `func (o *ConsistencyRequestParameters) GetConsistencyOk() (*string, bool)` 37 | 38 | GetConsistencyOk returns a tuple with the Consistency field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetConsistency 42 | 43 | `func (o *ConsistencyRequestParameters) SetConsistency(v string)` 44 | 45 | SetConsistency sets Consistency field to given value. 46 | 47 | ### HasConsistency 48 | 49 | `func (o *ConsistencyRequestParameters) HasConsistency() bool` 50 | 51 | HasConsistency returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/ContinueWith.md: -------------------------------------------------------------------------------- 1 | # ContinueWith 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Action** | **string** | Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString | 8 | **Flow** | [**ContinueWithRecoveryUiFlow**](ContinueWithRecoveryUiFlow.md) | | 9 | **OrySessionToken** | **string** | Token is the token of the session | 10 | **RedirectBrowserTo** | **string** | The URL to redirect the browser to | 11 | 12 | ## Methods 13 | 14 | ### NewContinueWith 15 | 16 | `func NewContinueWith(action string, flow ContinueWithRecoveryUiFlow, orySessionToken string, redirectBrowserTo string, ) *ContinueWith` 17 | 18 | NewContinueWith instantiates a new ContinueWith object 19 | This constructor will assign default values to properties that have it defined, 20 | and makes sure properties required by API are set, but the set of arguments 21 | will change when the set of required properties is changed 22 | 23 | ### NewContinueWithWithDefaults 24 | 25 | `func NewContinueWithWithDefaults() *ContinueWith` 26 | 27 | NewContinueWithWithDefaults instantiates a new ContinueWith object 28 | This constructor will only assign default values to properties that have it defined, 29 | but it doesn't guarantee that properties required by API are set 30 | 31 | ### GetAction 32 | 33 | `func (o *ContinueWith) GetAction() string` 34 | 35 | GetAction returns the Action field if non-nil, zero value otherwise. 36 | 37 | ### GetActionOk 38 | 39 | `func (o *ContinueWith) GetActionOk() (*string, bool)` 40 | 41 | GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise 42 | and a boolean to check if the value has been set. 43 | 44 | ### SetAction 45 | 46 | `func (o *ContinueWith) SetAction(v string)` 47 | 48 | SetAction sets Action field to given value. 49 | 50 | 51 | ### GetFlow 52 | 53 | `func (o *ContinueWith) GetFlow() ContinueWithRecoveryUiFlow` 54 | 55 | GetFlow returns the Flow field if non-nil, zero value otherwise. 56 | 57 | ### GetFlowOk 58 | 59 | `func (o *ContinueWith) GetFlowOk() (*ContinueWithRecoveryUiFlow, bool)` 60 | 61 | GetFlowOk returns a tuple with the Flow field if it's non-nil, zero value otherwise 62 | and a boolean to check if the value has been set. 63 | 64 | ### SetFlow 65 | 66 | `func (o *ContinueWith) SetFlow(v ContinueWithRecoveryUiFlow)` 67 | 68 | SetFlow sets Flow field to given value. 69 | 70 | 71 | ### GetOrySessionToken 72 | 73 | `func (o *ContinueWith) GetOrySessionToken() string` 74 | 75 | GetOrySessionToken returns the OrySessionToken field if non-nil, zero value otherwise. 76 | 77 | ### GetOrySessionTokenOk 78 | 79 | `func (o *ContinueWith) GetOrySessionTokenOk() (*string, bool)` 80 | 81 | GetOrySessionTokenOk returns a tuple with the OrySessionToken field if it's non-nil, zero value otherwise 82 | and a boolean to check if the value has been set. 83 | 84 | ### SetOrySessionToken 85 | 86 | `func (o *ContinueWith) SetOrySessionToken(v string)` 87 | 88 | SetOrySessionToken sets OrySessionToken field to given value. 89 | 90 | 91 | ### GetRedirectBrowserTo 92 | 93 | `func (o *ContinueWith) GetRedirectBrowserTo() string` 94 | 95 | GetRedirectBrowserTo returns the RedirectBrowserTo field if non-nil, zero value otherwise. 96 | 97 | ### GetRedirectBrowserToOk 98 | 99 | `func (o *ContinueWith) GetRedirectBrowserToOk() (*string, bool)` 100 | 101 | GetRedirectBrowserToOk returns a tuple with the RedirectBrowserTo field if it's non-nil, zero value otherwise 102 | and a boolean to check if the value has been set. 103 | 104 | ### SetRedirectBrowserTo 105 | 106 | `func (o *ContinueWith) SetRedirectBrowserTo(v string)` 107 | 108 | SetRedirectBrowserTo sets RedirectBrowserTo field to given value. 109 | 110 | 111 | 112 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 113 | 114 | 115 | -------------------------------------------------------------------------------- /docs/ContinueWithRecoveryUi.md: -------------------------------------------------------------------------------- 1 | # ContinueWithRecoveryUi 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Action** | **string** | Action will always be `show_recovery_ui` show_recovery_ui ContinueWithActionShowRecoveryUIString | 8 | **Flow** | [**ContinueWithRecoveryUiFlow**](ContinueWithRecoveryUiFlow.md) | | 9 | 10 | ## Methods 11 | 12 | ### NewContinueWithRecoveryUi 13 | 14 | `func NewContinueWithRecoveryUi(action string, flow ContinueWithRecoveryUiFlow, ) *ContinueWithRecoveryUi` 15 | 16 | NewContinueWithRecoveryUi instantiates a new ContinueWithRecoveryUi object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewContinueWithRecoveryUiWithDefaults 22 | 23 | `func NewContinueWithRecoveryUiWithDefaults() *ContinueWithRecoveryUi` 24 | 25 | NewContinueWithRecoveryUiWithDefaults instantiates a new ContinueWithRecoveryUi object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetAction 30 | 31 | `func (o *ContinueWithRecoveryUi) GetAction() string` 32 | 33 | GetAction returns the Action field if non-nil, zero value otherwise. 34 | 35 | ### GetActionOk 36 | 37 | `func (o *ContinueWithRecoveryUi) GetActionOk() (*string, bool)` 38 | 39 | GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetAction 43 | 44 | `func (o *ContinueWithRecoveryUi) SetAction(v string)` 45 | 46 | SetAction sets Action field to given value. 47 | 48 | 49 | ### GetFlow 50 | 51 | `func (o *ContinueWithRecoveryUi) GetFlow() ContinueWithRecoveryUiFlow` 52 | 53 | GetFlow returns the Flow field if non-nil, zero value otherwise. 54 | 55 | ### GetFlowOk 56 | 57 | `func (o *ContinueWithRecoveryUi) GetFlowOk() (*ContinueWithRecoveryUiFlow, bool)` 58 | 59 | GetFlowOk returns a tuple with the Flow field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetFlow 63 | 64 | `func (o *ContinueWithRecoveryUi) SetFlow(v ContinueWithRecoveryUiFlow)` 65 | 66 | SetFlow sets Flow field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /docs/ContinueWithRecoveryUiFlow.md: -------------------------------------------------------------------------------- 1 | # ContinueWithRecoveryUiFlow 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Id** | **string** | The ID of the recovery flow | 8 | **Url** | Pointer to **string** | The URL of the recovery flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewContinueWithRecoveryUiFlow 13 | 14 | `func NewContinueWithRecoveryUiFlow(id string, ) *ContinueWithRecoveryUiFlow` 15 | 16 | NewContinueWithRecoveryUiFlow instantiates a new ContinueWithRecoveryUiFlow object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewContinueWithRecoveryUiFlowWithDefaults 22 | 23 | `func NewContinueWithRecoveryUiFlowWithDefaults() *ContinueWithRecoveryUiFlow` 24 | 25 | NewContinueWithRecoveryUiFlowWithDefaults instantiates a new ContinueWithRecoveryUiFlow object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetId 30 | 31 | `func (o *ContinueWithRecoveryUiFlow) GetId() string` 32 | 33 | GetId returns the Id field if non-nil, zero value otherwise. 34 | 35 | ### GetIdOk 36 | 37 | `func (o *ContinueWithRecoveryUiFlow) GetIdOk() (*string, bool)` 38 | 39 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetId 43 | 44 | `func (o *ContinueWithRecoveryUiFlow) SetId(v string)` 45 | 46 | SetId sets Id field to given value. 47 | 48 | 49 | ### GetUrl 50 | 51 | `func (o *ContinueWithRecoveryUiFlow) GetUrl() string` 52 | 53 | GetUrl returns the Url field if non-nil, zero value otherwise. 54 | 55 | ### GetUrlOk 56 | 57 | `func (o *ContinueWithRecoveryUiFlow) GetUrlOk() (*string, bool)` 58 | 59 | GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetUrl 63 | 64 | `func (o *ContinueWithRecoveryUiFlow) SetUrl(v string)` 65 | 66 | SetUrl sets Url field to given value. 67 | 68 | ### HasUrl 69 | 70 | `func (o *ContinueWithRecoveryUiFlow) HasUrl() bool` 71 | 72 | HasUrl returns a boolean if a field has been set. 73 | 74 | 75 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 76 | 77 | 78 | -------------------------------------------------------------------------------- /docs/ContinueWithRedirectBrowserTo.md: -------------------------------------------------------------------------------- 1 | # ContinueWithRedirectBrowserTo 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Action** | **string** | Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString | 8 | **RedirectBrowserTo** | **string** | The URL to redirect the browser to | 9 | 10 | ## Methods 11 | 12 | ### NewContinueWithRedirectBrowserTo 13 | 14 | `func NewContinueWithRedirectBrowserTo(action string, redirectBrowserTo string, ) *ContinueWithRedirectBrowserTo` 15 | 16 | NewContinueWithRedirectBrowserTo instantiates a new ContinueWithRedirectBrowserTo object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewContinueWithRedirectBrowserToWithDefaults 22 | 23 | `func NewContinueWithRedirectBrowserToWithDefaults() *ContinueWithRedirectBrowserTo` 24 | 25 | NewContinueWithRedirectBrowserToWithDefaults instantiates a new ContinueWithRedirectBrowserTo object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetAction 30 | 31 | `func (o *ContinueWithRedirectBrowserTo) GetAction() string` 32 | 33 | GetAction returns the Action field if non-nil, zero value otherwise. 34 | 35 | ### GetActionOk 36 | 37 | `func (o *ContinueWithRedirectBrowserTo) GetActionOk() (*string, bool)` 38 | 39 | GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetAction 43 | 44 | `func (o *ContinueWithRedirectBrowserTo) SetAction(v string)` 45 | 46 | SetAction sets Action field to given value. 47 | 48 | 49 | ### GetRedirectBrowserTo 50 | 51 | `func (o *ContinueWithRedirectBrowserTo) GetRedirectBrowserTo() string` 52 | 53 | GetRedirectBrowserTo returns the RedirectBrowserTo field if non-nil, zero value otherwise. 54 | 55 | ### GetRedirectBrowserToOk 56 | 57 | `func (o *ContinueWithRedirectBrowserTo) GetRedirectBrowserToOk() (*string, bool)` 58 | 59 | GetRedirectBrowserToOk returns a tuple with the RedirectBrowserTo field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetRedirectBrowserTo 63 | 64 | `func (o *ContinueWithRedirectBrowserTo) SetRedirectBrowserTo(v string)` 65 | 66 | SetRedirectBrowserTo sets RedirectBrowserTo field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /docs/ContinueWithSetOrySessionToken.md: -------------------------------------------------------------------------------- 1 | # ContinueWithSetOrySessionToken 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Action** | **string** | Action will always be `set_ory_session_token` set_ory_session_token ContinueWithActionSetOrySessionTokenString | 8 | **OrySessionToken** | **string** | Token is the token of the session | 9 | 10 | ## Methods 11 | 12 | ### NewContinueWithSetOrySessionToken 13 | 14 | `func NewContinueWithSetOrySessionToken(action string, orySessionToken string, ) *ContinueWithSetOrySessionToken` 15 | 16 | NewContinueWithSetOrySessionToken instantiates a new ContinueWithSetOrySessionToken object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewContinueWithSetOrySessionTokenWithDefaults 22 | 23 | `func NewContinueWithSetOrySessionTokenWithDefaults() *ContinueWithSetOrySessionToken` 24 | 25 | NewContinueWithSetOrySessionTokenWithDefaults instantiates a new ContinueWithSetOrySessionToken object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetAction 30 | 31 | `func (o *ContinueWithSetOrySessionToken) GetAction() string` 32 | 33 | GetAction returns the Action field if non-nil, zero value otherwise. 34 | 35 | ### GetActionOk 36 | 37 | `func (o *ContinueWithSetOrySessionToken) GetActionOk() (*string, bool)` 38 | 39 | GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetAction 43 | 44 | `func (o *ContinueWithSetOrySessionToken) SetAction(v string)` 45 | 46 | SetAction sets Action field to given value. 47 | 48 | 49 | ### GetOrySessionToken 50 | 51 | `func (o *ContinueWithSetOrySessionToken) GetOrySessionToken() string` 52 | 53 | GetOrySessionToken returns the OrySessionToken field if non-nil, zero value otherwise. 54 | 55 | ### GetOrySessionTokenOk 56 | 57 | `func (o *ContinueWithSetOrySessionToken) GetOrySessionTokenOk() (*string, bool)` 58 | 59 | GetOrySessionTokenOk returns a tuple with the OrySessionToken field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetOrySessionToken 63 | 64 | `func (o *ContinueWithSetOrySessionToken) SetOrySessionToken(v string)` 65 | 66 | SetOrySessionToken sets OrySessionToken field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /docs/ContinueWithSettingsUi.md: -------------------------------------------------------------------------------- 1 | # ContinueWithSettingsUi 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Action** | **string** | Action will always be `show_settings_ui` show_settings_ui ContinueWithActionShowSettingsUIString | 8 | **Flow** | [**ContinueWithSettingsUiFlow**](ContinueWithSettingsUiFlow.md) | | 9 | 10 | ## Methods 11 | 12 | ### NewContinueWithSettingsUi 13 | 14 | `func NewContinueWithSettingsUi(action string, flow ContinueWithSettingsUiFlow, ) *ContinueWithSettingsUi` 15 | 16 | NewContinueWithSettingsUi instantiates a new ContinueWithSettingsUi object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewContinueWithSettingsUiWithDefaults 22 | 23 | `func NewContinueWithSettingsUiWithDefaults() *ContinueWithSettingsUi` 24 | 25 | NewContinueWithSettingsUiWithDefaults instantiates a new ContinueWithSettingsUi object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetAction 30 | 31 | `func (o *ContinueWithSettingsUi) GetAction() string` 32 | 33 | GetAction returns the Action field if non-nil, zero value otherwise. 34 | 35 | ### GetActionOk 36 | 37 | `func (o *ContinueWithSettingsUi) GetActionOk() (*string, bool)` 38 | 39 | GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetAction 43 | 44 | `func (o *ContinueWithSettingsUi) SetAction(v string)` 45 | 46 | SetAction sets Action field to given value. 47 | 48 | 49 | ### GetFlow 50 | 51 | `func (o *ContinueWithSettingsUi) GetFlow() ContinueWithSettingsUiFlow` 52 | 53 | GetFlow returns the Flow field if non-nil, zero value otherwise. 54 | 55 | ### GetFlowOk 56 | 57 | `func (o *ContinueWithSettingsUi) GetFlowOk() (*ContinueWithSettingsUiFlow, bool)` 58 | 59 | GetFlowOk returns a tuple with the Flow field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetFlow 63 | 64 | `func (o *ContinueWithSettingsUi) SetFlow(v ContinueWithSettingsUiFlow)` 65 | 66 | SetFlow sets Flow field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /docs/ContinueWithSettingsUiFlow.md: -------------------------------------------------------------------------------- 1 | # ContinueWithSettingsUiFlow 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Id** | **string** | The ID of the settings flow | 8 | **Url** | Pointer to **string** | The URL of the settings flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewContinueWithSettingsUiFlow 13 | 14 | `func NewContinueWithSettingsUiFlow(id string, ) *ContinueWithSettingsUiFlow` 15 | 16 | NewContinueWithSettingsUiFlow instantiates a new ContinueWithSettingsUiFlow object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewContinueWithSettingsUiFlowWithDefaults 22 | 23 | `func NewContinueWithSettingsUiFlowWithDefaults() *ContinueWithSettingsUiFlow` 24 | 25 | NewContinueWithSettingsUiFlowWithDefaults instantiates a new ContinueWithSettingsUiFlow object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetId 30 | 31 | `func (o *ContinueWithSettingsUiFlow) GetId() string` 32 | 33 | GetId returns the Id field if non-nil, zero value otherwise. 34 | 35 | ### GetIdOk 36 | 37 | `func (o *ContinueWithSettingsUiFlow) GetIdOk() (*string, bool)` 38 | 39 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetId 43 | 44 | `func (o *ContinueWithSettingsUiFlow) SetId(v string)` 45 | 46 | SetId sets Id field to given value. 47 | 48 | 49 | ### GetUrl 50 | 51 | `func (o *ContinueWithSettingsUiFlow) GetUrl() string` 52 | 53 | GetUrl returns the Url field if non-nil, zero value otherwise. 54 | 55 | ### GetUrlOk 56 | 57 | `func (o *ContinueWithSettingsUiFlow) GetUrlOk() (*string, bool)` 58 | 59 | GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetUrl 63 | 64 | `func (o *ContinueWithSettingsUiFlow) SetUrl(v string)` 65 | 66 | SetUrl sets Url field to given value. 67 | 68 | ### HasUrl 69 | 70 | `func (o *ContinueWithSettingsUiFlow) HasUrl() bool` 71 | 72 | HasUrl returns a boolean if a field has been set. 73 | 74 | 75 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 76 | 77 | 78 | -------------------------------------------------------------------------------- /docs/ContinueWithVerificationUi.md: -------------------------------------------------------------------------------- 1 | # ContinueWithVerificationUi 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Action** | **string** | Action will always be `show_verification_ui` show_verification_ui ContinueWithActionShowVerificationUIString | 8 | **Flow** | [**ContinueWithVerificationUiFlow**](ContinueWithVerificationUiFlow.md) | | 9 | 10 | ## Methods 11 | 12 | ### NewContinueWithVerificationUi 13 | 14 | `func NewContinueWithVerificationUi(action string, flow ContinueWithVerificationUiFlow, ) *ContinueWithVerificationUi` 15 | 16 | NewContinueWithVerificationUi instantiates a new ContinueWithVerificationUi object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewContinueWithVerificationUiWithDefaults 22 | 23 | `func NewContinueWithVerificationUiWithDefaults() *ContinueWithVerificationUi` 24 | 25 | NewContinueWithVerificationUiWithDefaults instantiates a new ContinueWithVerificationUi object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetAction 30 | 31 | `func (o *ContinueWithVerificationUi) GetAction() string` 32 | 33 | GetAction returns the Action field if non-nil, zero value otherwise. 34 | 35 | ### GetActionOk 36 | 37 | `func (o *ContinueWithVerificationUi) GetActionOk() (*string, bool)` 38 | 39 | GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetAction 43 | 44 | `func (o *ContinueWithVerificationUi) SetAction(v string)` 45 | 46 | SetAction sets Action field to given value. 47 | 48 | 49 | ### GetFlow 50 | 51 | `func (o *ContinueWithVerificationUi) GetFlow() ContinueWithVerificationUiFlow` 52 | 53 | GetFlow returns the Flow field if non-nil, zero value otherwise. 54 | 55 | ### GetFlowOk 56 | 57 | `func (o *ContinueWithVerificationUi) GetFlowOk() (*ContinueWithVerificationUiFlow, bool)` 58 | 59 | GetFlowOk returns a tuple with the Flow field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetFlow 63 | 64 | `func (o *ContinueWithVerificationUi) SetFlow(v ContinueWithVerificationUiFlow)` 65 | 66 | SetFlow sets Flow field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /docs/ContinueWithVerificationUiFlow.md: -------------------------------------------------------------------------------- 1 | # ContinueWithVerificationUiFlow 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Id** | **string** | The ID of the verification flow | 8 | **Url** | Pointer to **string** | The URL of the verification flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. | [optional] 9 | **VerifiableAddress** | **string** | The address that should be verified in this flow | 10 | 11 | ## Methods 12 | 13 | ### NewContinueWithVerificationUiFlow 14 | 15 | `func NewContinueWithVerificationUiFlow(id string, verifiableAddress string, ) *ContinueWithVerificationUiFlow` 16 | 17 | NewContinueWithVerificationUiFlow instantiates a new ContinueWithVerificationUiFlow object 18 | This constructor will assign default values to properties that have it defined, 19 | and makes sure properties required by API are set, but the set of arguments 20 | will change when the set of required properties is changed 21 | 22 | ### NewContinueWithVerificationUiFlowWithDefaults 23 | 24 | `func NewContinueWithVerificationUiFlowWithDefaults() *ContinueWithVerificationUiFlow` 25 | 26 | NewContinueWithVerificationUiFlowWithDefaults instantiates a new ContinueWithVerificationUiFlow object 27 | This constructor will only assign default values to properties that have it defined, 28 | but it doesn't guarantee that properties required by API are set 29 | 30 | ### GetId 31 | 32 | `func (o *ContinueWithVerificationUiFlow) GetId() string` 33 | 34 | GetId returns the Id field if non-nil, zero value otherwise. 35 | 36 | ### GetIdOk 37 | 38 | `func (o *ContinueWithVerificationUiFlow) GetIdOk() (*string, bool)` 39 | 40 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 41 | and a boolean to check if the value has been set. 42 | 43 | ### SetId 44 | 45 | `func (o *ContinueWithVerificationUiFlow) SetId(v string)` 46 | 47 | SetId sets Id field to given value. 48 | 49 | 50 | ### GetUrl 51 | 52 | `func (o *ContinueWithVerificationUiFlow) GetUrl() string` 53 | 54 | GetUrl returns the Url field if non-nil, zero value otherwise. 55 | 56 | ### GetUrlOk 57 | 58 | `func (o *ContinueWithVerificationUiFlow) GetUrlOk() (*string, bool)` 59 | 60 | GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise 61 | and a boolean to check if the value has been set. 62 | 63 | ### SetUrl 64 | 65 | `func (o *ContinueWithVerificationUiFlow) SetUrl(v string)` 66 | 67 | SetUrl sets Url field to given value. 68 | 69 | ### HasUrl 70 | 71 | `func (o *ContinueWithVerificationUiFlow) HasUrl() bool` 72 | 73 | HasUrl returns a boolean if a field has been set. 74 | 75 | ### GetVerifiableAddress 76 | 77 | `func (o *ContinueWithVerificationUiFlow) GetVerifiableAddress() string` 78 | 79 | GetVerifiableAddress returns the VerifiableAddress field if non-nil, zero value otherwise. 80 | 81 | ### GetVerifiableAddressOk 82 | 83 | `func (o *ContinueWithVerificationUiFlow) GetVerifiableAddressOk() (*string, bool)` 84 | 85 | GetVerifiableAddressOk returns a tuple with the VerifiableAddress field if it's non-nil, zero value otherwise 86 | and a boolean to check if the value has been set. 87 | 88 | ### SetVerifiableAddress 89 | 90 | `func (o *ContinueWithVerificationUiFlow) SetVerifiableAddress(v string)` 91 | 92 | SetVerifiableAddress sets VerifiableAddress field to given value. 93 | 94 | 95 | 96 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 97 | 98 | 99 | -------------------------------------------------------------------------------- /docs/CourierMessageStatus.md: -------------------------------------------------------------------------------- 1 | # CourierMessageStatus 2 | 3 | ## Enum 4 | 5 | 6 | * `QUEUED` (value: `"queued"`) 7 | 8 | * `SENT` (value: `"sent"`) 9 | 10 | * `PROCESSING` (value: `"processing"`) 11 | 12 | * `ABANDONED` (value: `"abandoned"`) 13 | 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/CourierMessageType.md: -------------------------------------------------------------------------------- 1 | # CourierMessageType 2 | 3 | ## Enum 4 | 5 | 6 | * `EMAIL` (value: `"email"`) 7 | 8 | * `PHONE` (value: `"phone"`) 9 | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/CreateFedcmFlowResponse.md: -------------------------------------------------------------------------------- 1 | # CreateFedcmFlowResponse 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **CsrfToken** | Pointer to **string** | | [optional] 8 | **Providers** | Pointer to [**[]Provider**](Provider.md) | | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewCreateFedcmFlowResponse 13 | 14 | `func NewCreateFedcmFlowResponse() *CreateFedcmFlowResponse` 15 | 16 | NewCreateFedcmFlowResponse instantiates a new CreateFedcmFlowResponse object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewCreateFedcmFlowResponseWithDefaults 22 | 23 | `func NewCreateFedcmFlowResponseWithDefaults() *CreateFedcmFlowResponse` 24 | 25 | NewCreateFedcmFlowResponseWithDefaults instantiates a new CreateFedcmFlowResponse object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetCsrfToken 30 | 31 | `func (o *CreateFedcmFlowResponse) GetCsrfToken() string` 32 | 33 | GetCsrfToken returns the CsrfToken field if non-nil, zero value otherwise. 34 | 35 | ### GetCsrfTokenOk 36 | 37 | `func (o *CreateFedcmFlowResponse) GetCsrfTokenOk() (*string, bool)` 38 | 39 | GetCsrfTokenOk returns a tuple with the CsrfToken field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetCsrfToken 43 | 44 | `func (o *CreateFedcmFlowResponse) SetCsrfToken(v string)` 45 | 46 | SetCsrfToken sets CsrfToken field to given value. 47 | 48 | ### HasCsrfToken 49 | 50 | `func (o *CreateFedcmFlowResponse) HasCsrfToken() bool` 51 | 52 | HasCsrfToken returns a boolean if a field has been set. 53 | 54 | ### GetProviders 55 | 56 | `func (o *CreateFedcmFlowResponse) GetProviders() []Provider` 57 | 58 | GetProviders returns the Providers field if non-nil, zero value otherwise. 59 | 60 | ### GetProvidersOk 61 | 62 | `func (o *CreateFedcmFlowResponse) GetProvidersOk() (*[]Provider, bool)` 63 | 64 | GetProvidersOk returns a tuple with the Providers field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetProviders 68 | 69 | `func (o *CreateFedcmFlowResponse) SetProviders(v []Provider)` 70 | 71 | SetProviders sets Providers field to given value. 72 | 73 | ### HasProviders 74 | 75 | `func (o *CreateFedcmFlowResponse) HasProviders() bool` 76 | 77 | HasProviders returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/CreateRecoveryCodeForIdentityBody.md: -------------------------------------------------------------------------------- 1 | # CreateRecoveryCodeForIdentityBody 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ExpiresIn** | Pointer to **string** | Code Expires In The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. | [optional] 8 | **FlowType** | Pointer to **string** | The flow type can either be `api` or `browser`. | [optional] 9 | **IdentityId** | **string** | Identity to Recover The identity's ID you wish to recover. | 10 | 11 | ## Methods 12 | 13 | ### NewCreateRecoveryCodeForIdentityBody 14 | 15 | `func NewCreateRecoveryCodeForIdentityBody(identityId string, ) *CreateRecoveryCodeForIdentityBody` 16 | 17 | NewCreateRecoveryCodeForIdentityBody instantiates a new CreateRecoveryCodeForIdentityBody object 18 | This constructor will assign default values to properties that have it defined, 19 | and makes sure properties required by API are set, but the set of arguments 20 | will change when the set of required properties is changed 21 | 22 | ### NewCreateRecoveryCodeForIdentityBodyWithDefaults 23 | 24 | `func NewCreateRecoveryCodeForIdentityBodyWithDefaults() *CreateRecoveryCodeForIdentityBody` 25 | 26 | NewCreateRecoveryCodeForIdentityBodyWithDefaults instantiates a new CreateRecoveryCodeForIdentityBody object 27 | This constructor will only assign default values to properties that have it defined, 28 | but it doesn't guarantee that properties required by API are set 29 | 30 | ### GetExpiresIn 31 | 32 | `func (o *CreateRecoveryCodeForIdentityBody) GetExpiresIn() string` 33 | 34 | GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise. 35 | 36 | ### GetExpiresInOk 37 | 38 | `func (o *CreateRecoveryCodeForIdentityBody) GetExpiresInOk() (*string, bool)` 39 | 40 | GetExpiresInOk returns a tuple with the ExpiresIn field if it's non-nil, zero value otherwise 41 | and a boolean to check if the value has been set. 42 | 43 | ### SetExpiresIn 44 | 45 | `func (o *CreateRecoveryCodeForIdentityBody) SetExpiresIn(v string)` 46 | 47 | SetExpiresIn sets ExpiresIn field to given value. 48 | 49 | ### HasExpiresIn 50 | 51 | `func (o *CreateRecoveryCodeForIdentityBody) HasExpiresIn() bool` 52 | 53 | HasExpiresIn returns a boolean if a field has been set. 54 | 55 | ### GetFlowType 56 | 57 | `func (o *CreateRecoveryCodeForIdentityBody) GetFlowType() string` 58 | 59 | GetFlowType returns the FlowType field if non-nil, zero value otherwise. 60 | 61 | ### GetFlowTypeOk 62 | 63 | `func (o *CreateRecoveryCodeForIdentityBody) GetFlowTypeOk() (*string, bool)` 64 | 65 | GetFlowTypeOk returns a tuple with the FlowType field if it's non-nil, zero value otherwise 66 | and a boolean to check if the value has been set. 67 | 68 | ### SetFlowType 69 | 70 | `func (o *CreateRecoveryCodeForIdentityBody) SetFlowType(v string)` 71 | 72 | SetFlowType sets FlowType field to given value. 73 | 74 | ### HasFlowType 75 | 76 | `func (o *CreateRecoveryCodeForIdentityBody) HasFlowType() bool` 77 | 78 | HasFlowType returns a boolean if a field has been set. 79 | 80 | ### GetIdentityId 81 | 82 | `func (o *CreateRecoveryCodeForIdentityBody) GetIdentityId() string` 83 | 84 | GetIdentityId returns the IdentityId field if non-nil, zero value otherwise. 85 | 86 | ### GetIdentityIdOk 87 | 88 | `func (o *CreateRecoveryCodeForIdentityBody) GetIdentityIdOk() (*string, bool)` 89 | 90 | GetIdentityIdOk returns a tuple with the IdentityId field if it's non-nil, zero value otherwise 91 | and a boolean to check if the value has been set. 92 | 93 | ### SetIdentityId 94 | 95 | `func (o *CreateRecoveryCodeForIdentityBody) SetIdentityId(v string)` 96 | 97 | SetIdentityId sets IdentityId field to given value. 98 | 99 | 100 | 101 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 102 | 103 | 104 | -------------------------------------------------------------------------------- /docs/CreateRecoveryLinkForIdentityBody.md: -------------------------------------------------------------------------------- 1 | # CreateRecoveryLinkForIdentityBody 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ExpiresIn** | Pointer to **string** | Link Expires In The recovery link will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. | [optional] 8 | **IdentityId** | **string** | Identity to Recover The identity's ID you wish to recover. | 9 | 10 | ## Methods 11 | 12 | ### NewCreateRecoveryLinkForIdentityBody 13 | 14 | `func NewCreateRecoveryLinkForIdentityBody(identityId string, ) *CreateRecoveryLinkForIdentityBody` 15 | 16 | NewCreateRecoveryLinkForIdentityBody instantiates a new CreateRecoveryLinkForIdentityBody object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewCreateRecoveryLinkForIdentityBodyWithDefaults 22 | 23 | `func NewCreateRecoveryLinkForIdentityBodyWithDefaults() *CreateRecoveryLinkForIdentityBody` 24 | 25 | NewCreateRecoveryLinkForIdentityBodyWithDefaults instantiates a new CreateRecoveryLinkForIdentityBody object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetExpiresIn 30 | 31 | `func (o *CreateRecoveryLinkForIdentityBody) GetExpiresIn() string` 32 | 33 | GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise. 34 | 35 | ### GetExpiresInOk 36 | 37 | `func (o *CreateRecoveryLinkForIdentityBody) GetExpiresInOk() (*string, bool)` 38 | 39 | GetExpiresInOk returns a tuple with the ExpiresIn field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetExpiresIn 43 | 44 | `func (o *CreateRecoveryLinkForIdentityBody) SetExpiresIn(v string)` 45 | 46 | SetExpiresIn sets ExpiresIn field to given value. 47 | 48 | ### HasExpiresIn 49 | 50 | `func (o *CreateRecoveryLinkForIdentityBody) HasExpiresIn() bool` 51 | 52 | HasExpiresIn returns a boolean if a field has been set. 53 | 54 | ### GetIdentityId 55 | 56 | `func (o *CreateRecoveryLinkForIdentityBody) GetIdentityId() string` 57 | 58 | GetIdentityId returns the IdentityId field if non-nil, zero value otherwise. 59 | 60 | ### GetIdentityIdOk 61 | 62 | `func (o *CreateRecoveryLinkForIdentityBody) GetIdentityIdOk() (*string, bool)` 63 | 64 | GetIdentityIdOk returns a tuple with the IdentityId field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetIdentityId 68 | 69 | `func (o *CreateRecoveryLinkForIdentityBody) SetIdentityId(v string)` 70 | 71 | SetIdentityId sets IdentityId field to given value. 72 | 73 | 74 | 75 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 76 | 77 | 78 | -------------------------------------------------------------------------------- /docs/DeleteMySessionsCount.md: -------------------------------------------------------------------------------- 1 | # DeleteMySessionsCount 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Count** | Pointer to **int64** | The number of sessions that were revoked. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewDeleteMySessionsCount 12 | 13 | `func NewDeleteMySessionsCount() *DeleteMySessionsCount` 14 | 15 | NewDeleteMySessionsCount instantiates a new DeleteMySessionsCount object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewDeleteMySessionsCountWithDefaults 21 | 22 | `func NewDeleteMySessionsCountWithDefaults() *DeleteMySessionsCount` 23 | 24 | NewDeleteMySessionsCountWithDefaults instantiates a new DeleteMySessionsCount object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetCount 29 | 30 | `func (o *DeleteMySessionsCount) GetCount() int64` 31 | 32 | GetCount returns the Count field if non-nil, zero value otherwise. 33 | 34 | ### GetCountOk 35 | 36 | `func (o *DeleteMySessionsCount) GetCountOk() (*int64, bool)` 37 | 38 | GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetCount 42 | 43 | `func (o *DeleteMySessionsCount) SetCount(v int64)` 44 | 45 | SetCount sets Count field to given value. 46 | 47 | ### HasCount 48 | 49 | `func (o *DeleteMySessionsCount) HasCount() bool` 50 | 51 | HasCount returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md: -------------------------------------------------------------------------------- 1 | # ErrorAuthenticatorAssuranceLevelNotSatisfied 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Error** | Pointer to [**GenericError**](GenericError.md) | | [optional] 8 | **RedirectBrowserTo** | Pointer to **string** | Points to where to redirect the user to next. | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewErrorAuthenticatorAssuranceLevelNotSatisfied 13 | 14 | `func NewErrorAuthenticatorAssuranceLevelNotSatisfied() *ErrorAuthenticatorAssuranceLevelNotSatisfied` 15 | 16 | NewErrorAuthenticatorAssuranceLevelNotSatisfied instantiates a new ErrorAuthenticatorAssuranceLevelNotSatisfied object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewErrorAuthenticatorAssuranceLevelNotSatisfiedWithDefaults 22 | 23 | `func NewErrorAuthenticatorAssuranceLevelNotSatisfiedWithDefaults() *ErrorAuthenticatorAssuranceLevelNotSatisfied` 24 | 25 | NewErrorAuthenticatorAssuranceLevelNotSatisfiedWithDefaults instantiates a new ErrorAuthenticatorAssuranceLevelNotSatisfied object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetError 30 | 31 | `func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) GetError() GenericError` 32 | 33 | GetError returns the Error field if non-nil, zero value otherwise. 34 | 35 | ### GetErrorOk 36 | 37 | `func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) GetErrorOk() (*GenericError, bool)` 38 | 39 | GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetError 43 | 44 | `func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) SetError(v GenericError)` 45 | 46 | SetError sets Error field to given value. 47 | 48 | ### HasError 49 | 50 | `func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) HasError() bool` 51 | 52 | HasError returns a boolean if a field has been set. 53 | 54 | ### GetRedirectBrowserTo 55 | 56 | `func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRedirectBrowserTo() string` 57 | 58 | GetRedirectBrowserTo returns the RedirectBrowserTo field if non-nil, zero value otherwise. 59 | 60 | ### GetRedirectBrowserToOk 61 | 62 | `func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRedirectBrowserToOk() (*string, bool)` 63 | 64 | GetRedirectBrowserToOk returns a tuple with the RedirectBrowserTo field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetRedirectBrowserTo 68 | 69 | `func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) SetRedirectBrowserTo(v string)` 70 | 71 | SetRedirectBrowserTo sets RedirectBrowserTo field to given value. 72 | 73 | ### HasRedirectBrowserTo 74 | 75 | `func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) HasRedirectBrowserTo() bool` 76 | 77 | HasRedirectBrowserTo returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/ErrorBrowserLocationChangeRequired.md: -------------------------------------------------------------------------------- 1 | # ErrorBrowserLocationChangeRequired 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Error** | Pointer to [**ErrorGeneric**](ErrorGeneric.md) | | [optional] 8 | **RedirectBrowserTo** | Pointer to **string** | Points to where to redirect the user to next. | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewErrorBrowserLocationChangeRequired 13 | 14 | `func NewErrorBrowserLocationChangeRequired() *ErrorBrowserLocationChangeRequired` 15 | 16 | NewErrorBrowserLocationChangeRequired instantiates a new ErrorBrowserLocationChangeRequired object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewErrorBrowserLocationChangeRequiredWithDefaults 22 | 23 | `func NewErrorBrowserLocationChangeRequiredWithDefaults() *ErrorBrowserLocationChangeRequired` 24 | 25 | NewErrorBrowserLocationChangeRequiredWithDefaults instantiates a new ErrorBrowserLocationChangeRequired object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetError 30 | 31 | `func (o *ErrorBrowserLocationChangeRequired) GetError() ErrorGeneric` 32 | 33 | GetError returns the Error field if non-nil, zero value otherwise. 34 | 35 | ### GetErrorOk 36 | 37 | `func (o *ErrorBrowserLocationChangeRequired) GetErrorOk() (*ErrorGeneric, bool)` 38 | 39 | GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetError 43 | 44 | `func (o *ErrorBrowserLocationChangeRequired) SetError(v ErrorGeneric)` 45 | 46 | SetError sets Error field to given value. 47 | 48 | ### HasError 49 | 50 | `func (o *ErrorBrowserLocationChangeRequired) HasError() bool` 51 | 52 | HasError returns a boolean if a field has been set. 53 | 54 | ### GetRedirectBrowserTo 55 | 56 | `func (o *ErrorBrowserLocationChangeRequired) GetRedirectBrowserTo() string` 57 | 58 | GetRedirectBrowserTo returns the RedirectBrowserTo field if non-nil, zero value otherwise. 59 | 60 | ### GetRedirectBrowserToOk 61 | 62 | `func (o *ErrorBrowserLocationChangeRequired) GetRedirectBrowserToOk() (*string, bool)` 63 | 64 | GetRedirectBrowserToOk returns a tuple with the RedirectBrowserTo field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetRedirectBrowserTo 68 | 69 | `func (o *ErrorBrowserLocationChangeRequired) SetRedirectBrowserTo(v string)` 70 | 71 | SetRedirectBrowserTo sets RedirectBrowserTo field to given value. 72 | 73 | ### HasRedirectBrowserTo 74 | 75 | `func (o *ErrorBrowserLocationChangeRequired) HasRedirectBrowserTo() bool` 76 | 77 | HasRedirectBrowserTo returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/ErrorFlowReplaced.md: -------------------------------------------------------------------------------- 1 | # ErrorFlowReplaced 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Error** | Pointer to [**GenericError**](GenericError.md) | | [optional] 8 | **UseFlowId** | Pointer to **string** | The flow ID that should be used for the new flow as it contains the correct messages. | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewErrorFlowReplaced 13 | 14 | `func NewErrorFlowReplaced() *ErrorFlowReplaced` 15 | 16 | NewErrorFlowReplaced instantiates a new ErrorFlowReplaced object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewErrorFlowReplacedWithDefaults 22 | 23 | `func NewErrorFlowReplacedWithDefaults() *ErrorFlowReplaced` 24 | 25 | NewErrorFlowReplacedWithDefaults instantiates a new ErrorFlowReplaced object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetError 30 | 31 | `func (o *ErrorFlowReplaced) GetError() GenericError` 32 | 33 | GetError returns the Error field if non-nil, zero value otherwise. 34 | 35 | ### GetErrorOk 36 | 37 | `func (o *ErrorFlowReplaced) GetErrorOk() (*GenericError, bool)` 38 | 39 | GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetError 43 | 44 | `func (o *ErrorFlowReplaced) SetError(v GenericError)` 45 | 46 | SetError sets Error field to given value. 47 | 48 | ### HasError 49 | 50 | `func (o *ErrorFlowReplaced) HasError() bool` 51 | 52 | HasError returns a boolean if a field has been set. 53 | 54 | ### GetUseFlowId 55 | 56 | `func (o *ErrorFlowReplaced) GetUseFlowId() string` 57 | 58 | GetUseFlowId returns the UseFlowId field if non-nil, zero value otherwise. 59 | 60 | ### GetUseFlowIdOk 61 | 62 | `func (o *ErrorFlowReplaced) GetUseFlowIdOk() (*string, bool)` 63 | 64 | GetUseFlowIdOk returns a tuple with the UseFlowId field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetUseFlowId 68 | 69 | `func (o *ErrorFlowReplaced) SetUseFlowId(v string)` 70 | 71 | SetUseFlowId sets UseFlowId field to given value. 72 | 73 | ### HasUseFlowId 74 | 75 | `func (o *ErrorFlowReplaced) HasUseFlowId() bool` 76 | 77 | HasUseFlowId returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/ErrorGeneric.md: -------------------------------------------------------------------------------- 1 | # ErrorGeneric 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Error** | [**GenericError**](GenericError.md) | | 8 | 9 | ## Methods 10 | 11 | ### NewErrorGeneric 12 | 13 | `func NewErrorGeneric(error_ GenericError, ) *ErrorGeneric` 14 | 15 | NewErrorGeneric instantiates a new ErrorGeneric object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewErrorGenericWithDefaults 21 | 22 | `func NewErrorGenericWithDefaults() *ErrorGeneric` 23 | 24 | NewErrorGenericWithDefaults instantiates a new ErrorGeneric object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetError 29 | 30 | `func (o *ErrorGeneric) GetError() GenericError` 31 | 32 | GetError returns the Error field if non-nil, zero value otherwise. 33 | 34 | ### GetErrorOk 35 | 36 | `func (o *ErrorGeneric) GetErrorOk() (*GenericError, bool)` 37 | 38 | GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetError 42 | 43 | `func (o *ErrorGeneric) SetError(v GenericError)` 44 | 45 | SetError sets Error field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /docs/FlowError.md: -------------------------------------------------------------------------------- 1 | # FlowError 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **CreatedAt** | Pointer to **time.Time** | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] 8 | **Error** | Pointer to **map[string]interface{}** | | [optional] 9 | **Id** | **string** | ID of the error container. | 10 | **UpdatedAt** | Pointer to **time.Time** | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] 11 | 12 | ## Methods 13 | 14 | ### NewFlowError 15 | 16 | `func NewFlowError(id string, ) *FlowError` 17 | 18 | NewFlowError instantiates a new FlowError object 19 | This constructor will assign default values to properties that have it defined, 20 | and makes sure properties required by API are set, but the set of arguments 21 | will change when the set of required properties is changed 22 | 23 | ### NewFlowErrorWithDefaults 24 | 25 | `func NewFlowErrorWithDefaults() *FlowError` 26 | 27 | NewFlowErrorWithDefaults instantiates a new FlowError object 28 | This constructor will only assign default values to properties that have it defined, 29 | but it doesn't guarantee that properties required by API are set 30 | 31 | ### GetCreatedAt 32 | 33 | `func (o *FlowError) GetCreatedAt() time.Time` 34 | 35 | GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. 36 | 37 | ### GetCreatedAtOk 38 | 39 | `func (o *FlowError) GetCreatedAtOk() (*time.Time, bool)` 40 | 41 | GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise 42 | and a boolean to check if the value has been set. 43 | 44 | ### SetCreatedAt 45 | 46 | `func (o *FlowError) SetCreatedAt(v time.Time)` 47 | 48 | SetCreatedAt sets CreatedAt field to given value. 49 | 50 | ### HasCreatedAt 51 | 52 | `func (o *FlowError) HasCreatedAt() bool` 53 | 54 | HasCreatedAt returns a boolean if a field has been set. 55 | 56 | ### GetError 57 | 58 | `func (o *FlowError) GetError() map[string]interface{}` 59 | 60 | GetError returns the Error field if non-nil, zero value otherwise. 61 | 62 | ### GetErrorOk 63 | 64 | `func (o *FlowError) GetErrorOk() (*map[string]interface{}, bool)` 65 | 66 | GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise 67 | and a boolean to check if the value has been set. 68 | 69 | ### SetError 70 | 71 | `func (o *FlowError) SetError(v map[string]interface{})` 72 | 73 | SetError sets Error field to given value. 74 | 75 | ### HasError 76 | 77 | `func (o *FlowError) HasError() bool` 78 | 79 | HasError returns a boolean if a field has been set. 80 | 81 | ### GetId 82 | 83 | `func (o *FlowError) GetId() string` 84 | 85 | GetId returns the Id field if non-nil, zero value otherwise. 86 | 87 | ### GetIdOk 88 | 89 | `func (o *FlowError) GetIdOk() (*string, bool)` 90 | 91 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 92 | and a boolean to check if the value has been set. 93 | 94 | ### SetId 95 | 96 | `func (o *FlowError) SetId(v string)` 97 | 98 | SetId sets Id field to given value. 99 | 100 | 101 | ### GetUpdatedAt 102 | 103 | `func (o *FlowError) GetUpdatedAt() time.Time` 104 | 105 | GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. 106 | 107 | ### GetUpdatedAtOk 108 | 109 | `func (o *FlowError) GetUpdatedAtOk() (*time.Time, bool)` 110 | 111 | GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise 112 | and a boolean to check if the value has been set. 113 | 114 | ### SetUpdatedAt 115 | 116 | `func (o *FlowError) SetUpdatedAt(v time.Time)` 117 | 118 | SetUpdatedAt sets UpdatedAt field to given value. 119 | 120 | ### HasUpdatedAt 121 | 122 | `func (o *FlowError) HasUpdatedAt() bool` 123 | 124 | HasUpdatedAt returns a boolean if a field has been set. 125 | 126 | 127 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 128 | 129 | 130 | -------------------------------------------------------------------------------- /docs/GetVersion200Response.md: -------------------------------------------------------------------------------- 1 | # GetVersion200Response 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Version** | **string** | The version of Ory Kratos. | 8 | 9 | ## Methods 10 | 11 | ### NewGetVersion200Response 12 | 13 | `func NewGetVersion200Response(version string, ) *GetVersion200Response` 14 | 15 | NewGetVersion200Response instantiates a new GetVersion200Response object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewGetVersion200ResponseWithDefaults 21 | 22 | `func NewGetVersion200ResponseWithDefaults() *GetVersion200Response` 23 | 24 | NewGetVersion200ResponseWithDefaults instantiates a new GetVersion200Response object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetVersion 29 | 30 | `func (o *GetVersion200Response) GetVersion() string` 31 | 32 | GetVersion returns the Version field if non-nil, zero value otherwise. 33 | 34 | ### GetVersionOk 35 | 36 | `func (o *GetVersion200Response) GetVersionOk() (*string, bool)` 37 | 38 | GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetVersion 42 | 43 | `func (o *GetVersion200Response) SetVersion(v string)` 44 | 45 | SetVersion sets Version field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /docs/HealthNotReadyStatus.md: -------------------------------------------------------------------------------- 1 | # HealthNotReadyStatus 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Errors** | Pointer to **map[string]string** | Errors contains a list of errors that caused the not ready status. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewHealthNotReadyStatus 12 | 13 | `func NewHealthNotReadyStatus() *HealthNotReadyStatus` 14 | 15 | NewHealthNotReadyStatus instantiates a new HealthNotReadyStatus object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewHealthNotReadyStatusWithDefaults 21 | 22 | `func NewHealthNotReadyStatusWithDefaults() *HealthNotReadyStatus` 23 | 24 | NewHealthNotReadyStatusWithDefaults instantiates a new HealthNotReadyStatus object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetErrors 29 | 30 | `func (o *HealthNotReadyStatus) GetErrors() map[string]string` 31 | 32 | GetErrors returns the Errors field if non-nil, zero value otherwise. 33 | 34 | ### GetErrorsOk 35 | 36 | `func (o *HealthNotReadyStatus) GetErrorsOk() (*map[string]string, bool)` 37 | 38 | GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetErrors 42 | 43 | `func (o *HealthNotReadyStatus) SetErrors(v map[string]string)` 44 | 45 | SetErrors sets Errors field to given value. 46 | 47 | ### HasErrors 48 | 49 | `func (o *HealthNotReadyStatus) HasErrors() bool` 50 | 51 | HasErrors returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/HealthStatus.md: -------------------------------------------------------------------------------- 1 | # HealthStatus 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Status** | Pointer to **string** | Status always contains \"ok\". | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewHealthStatus 12 | 13 | `func NewHealthStatus() *HealthStatus` 14 | 15 | NewHealthStatus instantiates a new HealthStatus object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewHealthStatusWithDefaults 21 | 22 | `func NewHealthStatusWithDefaults() *HealthStatus` 23 | 24 | NewHealthStatusWithDefaults instantiates a new HealthStatus object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetStatus 29 | 30 | `func (o *HealthStatus) GetStatus() string` 31 | 32 | GetStatus returns the Status field if non-nil, zero value otherwise. 33 | 34 | ### GetStatusOk 35 | 36 | `func (o *HealthStatus) GetStatusOk() (*string, bool)` 37 | 38 | GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetStatus 42 | 43 | `func (o *HealthStatus) SetStatus(v string)` 44 | 45 | SetStatus sets Status field to given value. 46 | 47 | ### HasStatus 48 | 49 | `func (o *HealthStatus) HasStatus() bool` 50 | 51 | HasStatus returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/IdentityCredentialsCode.md: -------------------------------------------------------------------------------- 1 | # IdentityCredentialsCode 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Addresses** | Pointer to [**[]IdentityCredentialsCodeAddress**](IdentityCredentialsCodeAddress.md) | | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewIdentityCredentialsCode 12 | 13 | `func NewIdentityCredentialsCode() *IdentityCredentialsCode` 14 | 15 | NewIdentityCredentialsCode instantiates a new IdentityCredentialsCode object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewIdentityCredentialsCodeWithDefaults 21 | 22 | `func NewIdentityCredentialsCodeWithDefaults() *IdentityCredentialsCode` 23 | 24 | NewIdentityCredentialsCodeWithDefaults instantiates a new IdentityCredentialsCode object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetAddresses 29 | 30 | `func (o *IdentityCredentialsCode) GetAddresses() []IdentityCredentialsCodeAddress` 31 | 32 | GetAddresses returns the Addresses field if non-nil, zero value otherwise. 33 | 34 | ### GetAddressesOk 35 | 36 | `func (o *IdentityCredentialsCode) GetAddressesOk() (*[]IdentityCredentialsCodeAddress, bool)` 37 | 38 | GetAddressesOk returns a tuple with the Addresses field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetAddresses 42 | 43 | `func (o *IdentityCredentialsCode) SetAddresses(v []IdentityCredentialsCodeAddress)` 44 | 45 | SetAddresses sets Addresses field to given value. 46 | 47 | ### HasAddresses 48 | 49 | `func (o *IdentityCredentialsCode) HasAddresses() bool` 50 | 51 | HasAddresses returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/IdentityCredentialsCodeAddress.md: -------------------------------------------------------------------------------- 1 | # IdentityCredentialsCodeAddress 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Address** | Pointer to **string** | The address for this code | [optional] 8 | **Channel** | Pointer to **string** | | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewIdentityCredentialsCodeAddress 13 | 14 | `func NewIdentityCredentialsCodeAddress() *IdentityCredentialsCodeAddress` 15 | 16 | NewIdentityCredentialsCodeAddress instantiates a new IdentityCredentialsCodeAddress object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewIdentityCredentialsCodeAddressWithDefaults 22 | 23 | `func NewIdentityCredentialsCodeAddressWithDefaults() *IdentityCredentialsCodeAddress` 24 | 25 | NewIdentityCredentialsCodeAddressWithDefaults instantiates a new IdentityCredentialsCodeAddress object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetAddress 30 | 31 | `func (o *IdentityCredentialsCodeAddress) GetAddress() string` 32 | 33 | GetAddress returns the Address field if non-nil, zero value otherwise. 34 | 35 | ### GetAddressOk 36 | 37 | `func (o *IdentityCredentialsCodeAddress) GetAddressOk() (*string, bool)` 38 | 39 | GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetAddress 43 | 44 | `func (o *IdentityCredentialsCodeAddress) SetAddress(v string)` 45 | 46 | SetAddress sets Address field to given value. 47 | 48 | ### HasAddress 49 | 50 | `func (o *IdentityCredentialsCodeAddress) HasAddress() bool` 51 | 52 | HasAddress returns a boolean if a field has been set. 53 | 54 | ### GetChannel 55 | 56 | `func (o *IdentityCredentialsCodeAddress) GetChannel() string` 57 | 58 | GetChannel returns the Channel field if non-nil, zero value otherwise. 59 | 60 | ### GetChannelOk 61 | 62 | `func (o *IdentityCredentialsCodeAddress) GetChannelOk() (*string, bool)` 63 | 64 | GetChannelOk returns a tuple with the Channel field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetChannel 68 | 69 | `func (o *IdentityCredentialsCodeAddress) SetChannel(v string)` 70 | 71 | SetChannel sets Channel field to given value. 72 | 73 | ### HasChannel 74 | 75 | `func (o *IdentityCredentialsCodeAddress) HasChannel() bool` 76 | 77 | HasChannel returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/IdentityCredentialsOidc.md: -------------------------------------------------------------------------------- 1 | # IdentityCredentialsOidc 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Providers** | Pointer to [**[]IdentityCredentialsOidcProvider**](IdentityCredentialsOidcProvider.md) | | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewIdentityCredentialsOidc 12 | 13 | `func NewIdentityCredentialsOidc() *IdentityCredentialsOidc` 14 | 15 | NewIdentityCredentialsOidc instantiates a new IdentityCredentialsOidc object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewIdentityCredentialsOidcWithDefaults 21 | 22 | `func NewIdentityCredentialsOidcWithDefaults() *IdentityCredentialsOidc` 23 | 24 | NewIdentityCredentialsOidcWithDefaults instantiates a new IdentityCredentialsOidc object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetProviders 29 | 30 | `func (o *IdentityCredentialsOidc) GetProviders() []IdentityCredentialsOidcProvider` 31 | 32 | GetProviders returns the Providers field if non-nil, zero value otherwise. 33 | 34 | ### GetProvidersOk 35 | 36 | `func (o *IdentityCredentialsOidc) GetProvidersOk() (*[]IdentityCredentialsOidcProvider, bool)` 37 | 38 | GetProvidersOk returns a tuple with the Providers field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetProviders 42 | 43 | `func (o *IdentityCredentialsOidc) SetProviders(v []IdentityCredentialsOidcProvider)` 44 | 45 | SetProviders sets Providers field to given value. 46 | 47 | ### HasProviders 48 | 49 | `func (o *IdentityCredentialsOidc) HasProviders() bool` 50 | 51 | HasProviders returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/IdentityCredentialsPassword.md: -------------------------------------------------------------------------------- 1 | # IdentityCredentialsPassword 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **HashedPassword** | Pointer to **string** | HashedPassword is a hash-representation of the password. | [optional] 8 | **UsePasswordMigrationHook** | Pointer to **bool** | UsePasswordMigrationHook is set to true if the password should be migrated using the password migration hook. If set, and the HashedPassword is empty, a webhook will be called during login to migrate the password. | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewIdentityCredentialsPassword 13 | 14 | `func NewIdentityCredentialsPassword() *IdentityCredentialsPassword` 15 | 16 | NewIdentityCredentialsPassword instantiates a new IdentityCredentialsPassword object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewIdentityCredentialsPasswordWithDefaults 22 | 23 | `func NewIdentityCredentialsPasswordWithDefaults() *IdentityCredentialsPassword` 24 | 25 | NewIdentityCredentialsPasswordWithDefaults instantiates a new IdentityCredentialsPassword object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetHashedPassword 30 | 31 | `func (o *IdentityCredentialsPassword) GetHashedPassword() string` 32 | 33 | GetHashedPassword returns the HashedPassword field if non-nil, zero value otherwise. 34 | 35 | ### GetHashedPasswordOk 36 | 37 | `func (o *IdentityCredentialsPassword) GetHashedPasswordOk() (*string, bool)` 38 | 39 | GetHashedPasswordOk returns a tuple with the HashedPassword field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetHashedPassword 43 | 44 | `func (o *IdentityCredentialsPassword) SetHashedPassword(v string)` 45 | 46 | SetHashedPassword sets HashedPassword field to given value. 47 | 48 | ### HasHashedPassword 49 | 50 | `func (o *IdentityCredentialsPassword) HasHashedPassword() bool` 51 | 52 | HasHashedPassword returns a boolean if a field has been set. 53 | 54 | ### GetUsePasswordMigrationHook 55 | 56 | `func (o *IdentityCredentialsPassword) GetUsePasswordMigrationHook() bool` 57 | 58 | GetUsePasswordMigrationHook returns the UsePasswordMigrationHook field if non-nil, zero value otherwise. 59 | 60 | ### GetUsePasswordMigrationHookOk 61 | 62 | `func (o *IdentityCredentialsPassword) GetUsePasswordMigrationHookOk() (*bool, bool)` 63 | 64 | GetUsePasswordMigrationHookOk returns a tuple with the UsePasswordMigrationHook field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetUsePasswordMigrationHook 68 | 69 | `func (o *IdentityCredentialsPassword) SetUsePasswordMigrationHook(v bool)` 70 | 71 | SetUsePasswordMigrationHook sets UsePasswordMigrationHook field to given value. 72 | 73 | ### HasUsePasswordMigrationHook 74 | 75 | `func (o *IdentityCredentialsPassword) HasUsePasswordMigrationHook() bool` 76 | 77 | HasUsePasswordMigrationHook returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/IdentityPatch.md: -------------------------------------------------------------------------------- 1 | # IdentityPatch 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Create** | Pointer to [**CreateIdentityBody**](CreateIdentityBody.md) | | [optional] 8 | **PatchId** | Pointer to **string** | The ID of this patch. The patch ID is optional. If specified, the ID will be returned in the response, so consumers of this API can correlate the response with the patch. | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewIdentityPatch 13 | 14 | `func NewIdentityPatch() *IdentityPatch` 15 | 16 | NewIdentityPatch instantiates a new IdentityPatch object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewIdentityPatchWithDefaults 22 | 23 | `func NewIdentityPatchWithDefaults() *IdentityPatch` 24 | 25 | NewIdentityPatchWithDefaults instantiates a new IdentityPatch object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetCreate 30 | 31 | `func (o *IdentityPatch) GetCreate() CreateIdentityBody` 32 | 33 | GetCreate returns the Create field if non-nil, zero value otherwise. 34 | 35 | ### GetCreateOk 36 | 37 | `func (o *IdentityPatch) GetCreateOk() (*CreateIdentityBody, bool)` 38 | 39 | GetCreateOk returns a tuple with the Create field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetCreate 43 | 44 | `func (o *IdentityPatch) SetCreate(v CreateIdentityBody)` 45 | 46 | SetCreate sets Create field to given value. 47 | 48 | ### HasCreate 49 | 50 | `func (o *IdentityPatch) HasCreate() bool` 51 | 52 | HasCreate returns a boolean if a field has been set. 53 | 54 | ### GetPatchId 55 | 56 | `func (o *IdentityPatch) GetPatchId() string` 57 | 58 | GetPatchId returns the PatchId field if non-nil, zero value otherwise. 59 | 60 | ### GetPatchIdOk 61 | 62 | `func (o *IdentityPatch) GetPatchIdOk() (*string, bool)` 63 | 64 | GetPatchIdOk returns a tuple with the PatchId field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetPatchId 68 | 69 | `func (o *IdentityPatch) SetPatchId(v string)` 70 | 71 | SetPatchId sets PatchId field to given value. 72 | 73 | ### HasPatchId 74 | 75 | `func (o *IdentityPatch) HasPatchId() bool` 76 | 77 | HasPatchId returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/IdentitySchemaContainer.md: -------------------------------------------------------------------------------- 1 | # IdentitySchemaContainer 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Id** | Pointer to **string** | The ID of the Identity JSON Schema | [optional] 8 | **Schema** | Pointer to **map[string]interface{}** | The actual Identity JSON Schema | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewIdentitySchemaContainer 13 | 14 | `func NewIdentitySchemaContainer() *IdentitySchemaContainer` 15 | 16 | NewIdentitySchemaContainer instantiates a new IdentitySchemaContainer object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewIdentitySchemaContainerWithDefaults 22 | 23 | `func NewIdentitySchemaContainerWithDefaults() *IdentitySchemaContainer` 24 | 25 | NewIdentitySchemaContainerWithDefaults instantiates a new IdentitySchemaContainer object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetId 30 | 31 | `func (o *IdentitySchemaContainer) GetId() string` 32 | 33 | GetId returns the Id field if non-nil, zero value otherwise. 34 | 35 | ### GetIdOk 36 | 37 | `func (o *IdentitySchemaContainer) GetIdOk() (*string, bool)` 38 | 39 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetId 43 | 44 | `func (o *IdentitySchemaContainer) SetId(v string)` 45 | 46 | SetId sets Id field to given value. 47 | 48 | ### HasId 49 | 50 | `func (o *IdentitySchemaContainer) HasId() bool` 51 | 52 | HasId returns a boolean if a field has been set. 53 | 54 | ### GetSchema 55 | 56 | `func (o *IdentitySchemaContainer) GetSchema() map[string]interface{}` 57 | 58 | GetSchema returns the Schema field if non-nil, zero value otherwise. 59 | 60 | ### GetSchemaOk 61 | 62 | `func (o *IdentitySchemaContainer) GetSchemaOk() (*map[string]interface{}, bool)` 63 | 64 | GetSchemaOk returns a tuple with the Schema field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetSchema 68 | 69 | `func (o *IdentitySchemaContainer) SetSchema(v map[string]interface{})` 70 | 71 | SetSchema sets Schema field to given value. 72 | 73 | ### HasSchema 74 | 75 | `func (o *IdentitySchemaContainer) HasSchema() bool` 76 | 77 | HasSchema returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/IdentityWithCredentials.md: -------------------------------------------------------------------------------- 1 | # IdentityWithCredentials 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Oidc** | Pointer to [**IdentityWithCredentialsOidc**](IdentityWithCredentialsOidc.md) | | [optional] 8 | **Password** | Pointer to [**IdentityWithCredentialsPassword**](IdentityWithCredentialsPassword.md) | | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewIdentityWithCredentials 13 | 14 | `func NewIdentityWithCredentials() *IdentityWithCredentials` 15 | 16 | NewIdentityWithCredentials instantiates a new IdentityWithCredentials object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewIdentityWithCredentialsWithDefaults 22 | 23 | `func NewIdentityWithCredentialsWithDefaults() *IdentityWithCredentials` 24 | 25 | NewIdentityWithCredentialsWithDefaults instantiates a new IdentityWithCredentials object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetOidc 30 | 31 | `func (o *IdentityWithCredentials) GetOidc() IdentityWithCredentialsOidc` 32 | 33 | GetOidc returns the Oidc field if non-nil, zero value otherwise. 34 | 35 | ### GetOidcOk 36 | 37 | `func (o *IdentityWithCredentials) GetOidcOk() (*IdentityWithCredentialsOidc, bool)` 38 | 39 | GetOidcOk returns a tuple with the Oidc field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetOidc 43 | 44 | `func (o *IdentityWithCredentials) SetOidc(v IdentityWithCredentialsOidc)` 45 | 46 | SetOidc sets Oidc field to given value. 47 | 48 | ### HasOidc 49 | 50 | `func (o *IdentityWithCredentials) HasOidc() bool` 51 | 52 | HasOidc returns a boolean if a field has been set. 53 | 54 | ### GetPassword 55 | 56 | `func (o *IdentityWithCredentials) GetPassword() IdentityWithCredentialsPassword` 57 | 58 | GetPassword returns the Password field if non-nil, zero value otherwise. 59 | 60 | ### GetPasswordOk 61 | 62 | `func (o *IdentityWithCredentials) GetPasswordOk() (*IdentityWithCredentialsPassword, bool)` 63 | 64 | GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetPassword 68 | 69 | `func (o *IdentityWithCredentials) SetPassword(v IdentityWithCredentialsPassword)` 70 | 71 | SetPassword sets Password field to given value. 72 | 73 | ### HasPassword 74 | 75 | `func (o *IdentityWithCredentials) HasPassword() bool` 76 | 77 | HasPassword returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/IdentityWithCredentialsOidc.md: -------------------------------------------------------------------------------- 1 | # IdentityWithCredentialsOidc 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Config** | Pointer to [**IdentityWithCredentialsOidcConfig**](IdentityWithCredentialsOidcConfig.md) | | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewIdentityWithCredentialsOidc 12 | 13 | `func NewIdentityWithCredentialsOidc() *IdentityWithCredentialsOidc` 14 | 15 | NewIdentityWithCredentialsOidc instantiates a new IdentityWithCredentialsOidc object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewIdentityWithCredentialsOidcWithDefaults 21 | 22 | `func NewIdentityWithCredentialsOidcWithDefaults() *IdentityWithCredentialsOidc` 23 | 24 | NewIdentityWithCredentialsOidcWithDefaults instantiates a new IdentityWithCredentialsOidc object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetConfig 29 | 30 | `func (o *IdentityWithCredentialsOidc) GetConfig() IdentityWithCredentialsOidcConfig` 31 | 32 | GetConfig returns the Config field if non-nil, zero value otherwise. 33 | 34 | ### GetConfigOk 35 | 36 | `func (o *IdentityWithCredentialsOidc) GetConfigOk() (*IdentityWithCredentialsOidcConfig, bool)` 37 | 38 | GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetConfig 42 | 43 | `func (o *IdentityWithCredentialsOidc) SetConfig(v IdentityWithCredentialsOidcConfig)` 44 | 45 | SetConfig sets Config field to given value. 46 | 47 | ### HasConfig 48 | 49 | `func (o *IdentityWithCredentialsOidc) HasConfig() bool` 50 | 51 | HasConfig returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/IdentityWithCredentialsOidcConfig.md: -------------------------------------------------------------------------------- 1 | # IdentityWithCredentialsOidcConfig 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Config** | Pointer to [**IdentityWithCredentialsPasswordConfig**](IdentityWithCredentialsPasswordConfig.md) | | [optional] 8 | **Providers** | Pointer to [**[]IdentityWithCredentialsOidcConfigProvider**](IdentityWithCredentialsOidcConfigProvider.md) | A list of OpenID Connect Providers | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewIdentityWithCredentialsOidcConfig 13 | 14 | `func NewIdentityWithCredentialsOidcConfig() *IdentityWithCredentialsOidcConfig` 15 | 16 | NewIdentityWithCredentialsOidcConfig instantiates a new IdentityWithCredentialsOidcConfig object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewIdentityWithCredentialsOidcConfigWithDefaults 22 | 23 | `func NewIdentityWithCredentialsOidcConfigWithDefaults() *IdentityWithCredentialsOidcConfig` 24 | 25 | NewIdentityWithCredentialsOidcConfigWithDefaults instantiates a new IdentityWithCredentialsOidcConfig object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetConfig 30 | 31 | `func (o *IdentityWithCredentialsOidcConfig) GetConfig() IdentityWithCredentialsPasswordConfig` 32 | 33 | GetConfig returns the Config field if non-nil, zero value otherwise. 34 | 35 | ### GetConfigOk 36 | 37 | `func (o *IdentityWithCredentialsOidcConfig) GetConfigOk() (*IdentityWithCredentialsPasswordConfig, bool)` 38 | 39 | GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetConfig 43 | 44 | `func (o *IdentityWithCredentialsOidcConfig) SetConfig(v IdentityWithCredentialsPasswordConfig)` 45 | 46 | SetConfig sets Config field to given value. 47 | 48 | ### HasConfig 49 | 50 | `func (o *IdentityWithCredentialsOidcConfig) HasConfig() bool` 51 | 52 | HasConfig returns a boolean if a field has been set. 53 | 54 | ### GetProviders 55 | 56 | `func (o *IdentityWithCredentialsOidcConfig) GetProviders() []IdentityWithCredentialsOidcConfigProvider` 57 | 58 | GetProviders returns the Providers field if non-nil, zero value otherwise. 59 | 60 | ### GetProvidersOk 61 | 62 | `func (o *IdentityWithCredentialsOidcConfig) GetProvidersOk() (*[]IdentityWithCredentialsOidcConfigProvider, bool)` 63 | 64 | GetProvidersOk returns a tuple with the Providers field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetProviders 68 | 69 | `func (o *IdentityWithCredentialsOidcConfig) SetProviders(v []IdentityWithCredentialsOidcConfigProvider)` 70 | 71 | SetProviders sets Providers field to given value. 72 | 73 | ### HasProviders 74 | 75 | `func (o *IdentityWithCredentialsOidcConfig) HasProviders() bool` 76 | 77 | HasProviders returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/IdentityWithCredentialsOidcConfigProvider.md: -------------------------------------------------------------------------------- 1 | # IdentityWithCredentialsOidcConfigProvider 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Provider** | **string** | The OpenID Connect provider to link the subject to. Usually something like `google` or `github`. | 8 | **Subject** | **string** | The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token. | 9 | **UseAutoLink** | Pointer to **bool** | If set, this credential allows the user to sign in using the OpenID Connect provider without setting the subject first. | [optional] 10 | 11 | ## Methods 12 | 13 | ### NewIdentityWithCredentialsOidcConfigProvider 14 | 15 | `func NewIdentityWithCredentialsOidcConfigProvider(provider string, subject string, ) *IdentityWithCredentialsOidcConfigProvider` 16 | 17 | NewIdentityWithCredentialsOidcConfigProvider instantiates a new IdentityWithCredentialsOidcConfigProvider object 18 | This constructor will assign default values to properties that have it defined, 19 | and makes sure properties required by API are set, but the set of arguments 20 | will change when the set of required properties is changed 21 | 22 | ### NewIdentityWithCredentialsOidcConfigProviderWithDefaults 23 | 24 | `func NewIdentityWithCredentialsOidcConfigProviderWithDefaults() *IdentityWithCredentialsOidcConfigProvider` 25 | 26 | NewIdentityWithCredentialsOidcConfigProviderWithDefaults instantiates a new IdentityWithCredentialsOidcConfigProvider object 27 | This constructor will only assign default values to properties that have it defined, 28 | but it doesn't guarantee that properties required by API are set 29 | 30 | ### GetProvider 31 | 32 | `func (o *IdentityWithCredentialsOidcConfigProvider) GetProvider() string` 33 | 34 | GetProvider returns the Provider field if non-nil, zero value otherwise. 35 | 36 | ### GetProviderOk 37 | 38 | `func (o *IdentityWithCredentialsOidcConfigProvider) GetProviderOk() (*string, bool)` 39 | 40 | GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise 41 | and a boolean to check if the value has been set. 42 | 43 | ### SetProvider 44 | 45 | `func (o *IdentityWithCredentialsOidcConfigProvider) SetProvider(v string)` 46 | 47 | SetProvider sets Provider field to given value. 48 | 49 | 50 | ### GetSubject 51 | 52 | `func (o *IdentityWithCredentialsOidcConfigProvider) GetSubject() string` 53 | 54 | GetSubject returns the Subject field if non-nil, zero value otherwise. 55 | 56 | ### GetSubjectOk 57 | 58 | `func (o *IdentityWithCredentialsOidcConfigProvider) GetSubjectOk() (*string, bool)` 59 | 60 | GetSubjectOk returns a tuple with the Subject field if it's non-nil, zero value otherwise 61 | and a boolean to check if the value has been set. 62 | 63 | ### SetSubject 64 | 65 | `func (o *IdentityWithCredentialsOidcConfigProvider) SetSubject(v string)` 66 | 67 | SetSubject sets Subject field to given value. 68 | 69 | 70 | ### GetUseAutoLink 71 | 72 | `func (o *IdentityWithCredentialsOidcConfigProvider) GetUseAutoLink() bool` 73 | 74 | GetUseAutoLink returns the UseAutoLink field if non-nil, zero value otherwise. 75 | 76 | ### GetUseAutoLinkOk 77 | 78 | `func (o *IdentityWithCredentialsOidcConfigProvider) GetUseAutoLinkOk() (*bool, bool)` 79 | 80 | GetUseAutoLinkOk returns a tuple with the UseAutoLink field if it's non-nil, zero value otherwise 81 | and a boolean to check if the value has been set. 82 | 83 | ### SetUseAutoLink 84 | 85 | `func (o *IdentityWithCredentialsOidcConfigProvider) SetUseAutoLink(v bool)` 86 | 87 | SetUseAutoLink sets UseAutoLink field to given value. 88 | 89 | ### HasUseAutoLink 90 | 91 | `func (o *IdentityWithCredentialsOidcConfigProvider) HasUseAutoLink() bool` 92 | 93 | HasUseAutoLink returns a boolean if a field has been set. 94 | 95 | 96 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 97 | 98 | 99 | -------------------------------------------------------------------------------- /docs/IdentityWithCredentialsPassword.md: -------------------------------------------------------------------------------- 1 | # IdentityWithCredentialsPassword 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Config** | Pointer to [**IdentityWithCredentialsPasswordConfig**](IdentityWithCredentialsPasswordConfig.md) | | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewIdentityWithCredentialsPassword 12 | 13 | `func NewIdentityWithCredentialsPassword() *IdentityWithCredentialsPassword` 14 | 15 | NewIdentityWithCredentialsPassword instantiates a new IdentityWithCredentialsPassword object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewIdentityWithCredentialsPasswordWithDefaults 21 | 22 | `func NewIdentityWithCredentialsPasswordWithDefaults() *IdentityWithCredentialsPassword` 23 | 24 | NewIdentityWithCredentialsPasswordWithDefaults instantiates a new IdentityWithCredentialsPassword object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetConfig 29 | 30 | `func (o *IdentityWithCredentialsPassword) GetConfig() IdentityWithCredentialsPasswordConfig` 31 | 32 | GetConfig returns the Config field if non-nil, zero value otherwise. 33 | 34 | ### GetConfigOk 35 | 36 | `func (o *IdentityWithCredentialsPassword) GetConfigOk() (*IdentityWithCredentialsPasswordConfig, bool)` 37 | 38 | GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetConfig 42 | 43 | `func (o *IdentityWithCredentialsPassword) SetConfig(v IdentityWithCredentialsPasswordConfig)` 44 | 45 | SetConfig sets Config field to given value. 46 | 47 | ### HasConfig 48 | 49 | `func (o *IdentityWithCredentialsPassword) HasConfig() bool` 50 | 51 | HasConfig returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/IsAlive200Response.md: -------------------------------------------------------------------------------- 1 | # IsAlive200Response 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Status** | **string** | Always \"ok\". | 8 | 9 | ## Methods 10 | 11 | ### NewIsAlive200Response 12 | 13 | `func NewIsAlive200Response(status string, ) *IsAlive200Response` 14 | 15 | NewIsAlive200Response instantiates a new IsAlive200Response object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewIsAlive200ResponseWithDefaults 21 | 22 | `func NewIsAlive200ResponseWithDefaults() *IsAlive200Response` 23 | 24 | NewIsAlive200ResponseWithDefaults instantiates a new IsAlive200Response object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetStatus 29 | 30 | `func (o *IsAlive200Response) GetStatus() string` 31 | 32 | GetStatus returns the Status field if non-nil, zero value otherwise. 33 | 34 | ### GetStatusOk 35 | 36 | `func (o *IsAlive200Response) GetStatusOk() (*string, bool)` 37 | 38 | GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetStatus 42 | 43 | `func (o *IsAlive200Response) SetStatus(v string)` 44 | 45 | SetStatus sets Status field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /docs/IsReady503Response.md: -------------------------------------------------------------------------------- 1 | # IsReady503Response 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Errors** | **map[string]string** | Errors contains a list of errors that caused the not ready status. | 8 | 9 | ## Methods 10 | 11 | ### NewIsReady503Response 12 | 13 | `func NewIsReady503Response(errors map[string]string, ) *IsReady503Response` 14 | 15 | NewIsReady503Response instantiates a new IsReady503Response object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewIsReady503ResponseWithDefaults 21 | 22 | `func NewIsReady503ResponseWithDefaults() *IsReady503Response` 23 | 24 | NewIsReady503ResponseWithDefaults instantiates a new IsReady503Response object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetErrors 29 | 30 | `func (o *IsReady503Response) GetErrors() map[string]string` 31 | 32 | GetErrors returns the Errors field if non-nil, zero value otherwise. 33 | 34 | ### GetErrorsOk 35 | 36 | `func (o *IsReady503Response) GetErrorsOk() (*map[string]string, bool)` 37 | 38 | GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetErrors 42 | 43 | `func (o *IsReady503Response) SetErrors(v map[string]string)` 44 | 45 | SetErrors sets Errors field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /docs/LoginFlowState.md: -------------------------------------------------------------------------------- 1 | # LoginFlowState 2 | 3 | ## Enum 4 | 5 | 6 | * `CHOOSE_METHOD` (value: `"choose_method"`) 7 | 8 | * `SENT_EMAIL` (value: `"sent_email"`) 9 | 10 | * `PASSED_CHALLENGE` (value: `"passed_challenge"`) 11 | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/LogoutFlow.md: -------------------------------------------------------------------------------- 1 | # LogoutFlow 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **LogoutToken** | **string** | LogoutToken can be used to perform logout using AJAX. | 8 | **LogoutUrl** | **string** | LogoutURL can be opened in a browser to sign the user out. format: uri | 9 | 10 | ## Methods 11 | 12 | ### NewLogoutFlow 13 | 14 | `func NewLogoutFlow(logoutToken string, logoutUrl string, ) *LogoutFlow` 15 | 16 | NewLogoutFlow instantiates a new LogoutFlow object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewLogoutFlowWithDefaults 22 | 23 | `func NewLogoutFlowWithDefaults() *LogoutFlow` 24 | 25 | NewLogoutFlowWithDefaults instantiates a new LogoutFlow object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetLogoutToken 30 | 31 | `func (o *LogoutFlow) GetLogoutToken() string` 32 | 33 | GetLogoutToken returns the LogoutToken field if non-nil, zero value otherwise. 34 | 35 | ### GetLogoutTokenOk 36 | 37 | `func (o *LogoutFlow) GetLogoutTokenOk() (*string, bool)` 38 | 39 | GetLogoutTokenOk returns a tuple with the LogoutToken field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetLogoutToken 43 | 44 | `func (o *LogoutFlow) SetLogoutToken(v string)` 45 | 46 | SetLogoutToken sets LogoutToken field to given value. 47 | 48 | 49 | ### GetLogoutUrl 50 | 51 | `func (o *LogoutFlow) GetLogoutUrl() string` 52 | 53 | GetLogoutUrl returns the LogoutUrl field if non-nil, zero value otherwise. 54 | 55 | ### GetLogoutUrlOk 56 | 57 | `func (o *LogoutFlow) GetLogoutUrlOk() (*string, bool)` 58 | 59 | GetLogoutUrlOk returns a tuple with the LogoutUrl field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetLogoutUrl 63 | 64 | `func (o *LogoutFlow) SetLogoutUrl(v string)` 65 | 66 | SetLogoutUrl sets LogoutUrl field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /docs/NeedsPrivilegedSessionError.md: -------------------------------------------------------------------------------- 1 | # NeedsPrivilegedSessionError 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Error** | Pointer to [**GenericError**](GenericError.md) | | [optional] 8 | **RedirectBrowserTo** | **string** | Points to where to redirect the user to next. | 9 | 10 | ## Methods 11 | 12 | ### NewNeedsPrivilegedSessionError 13 | 14 | `func NewNeedsPrivilegedSessionError(redirectBrowserTo string, ) *NeedsPrivilegedSessionError` 15 | 16 | NewNeedsPrivilegedSessionError instantiates a new NeedsPrivilegedSessionError object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewNeedsPrivilegedSessionErrorWithDefaults 22 | 23 | `func NewNeedsPrivilegedSessionErrorWithDefaults() *NeedsPrivilegedSessionError` 24 | 25 | NewNeedsPrivilegedSessionErrorWithDefaults instantiates a new NeedsPrivilegedSessionError object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetError 30 | 31 | `func (o *NeedsPrivilegedSessionError) GetError() GenericError` 32 | 33 | GetError returns the Error field if non-nil, zero value otherwise. 34 | 35 | ### GetErrorOk 36 | 37 | `func (o *NeedsPrivilegedSessionError) GetErrorOk() (*GenericError, bool)` 38 | 39 | GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetError 43 | 44 | `func (o *NeedsPrivilegedSessionError) SetError(v GenericError)` 45 | 46 | SetError sets Error field to given value. 47 | 48 | ### HasError 49 | 50 | `func (o *NeedsPrivilegedSessionError) HasError() bool` 51 | 52 | HasError returns a boolean if a field has been set. 53 | 54 | ### GetRedirectBrowserTo 55 | 56 | `func (o *NeedsPrivilegedSessionError) GetRedirectBrowserTo() string` 57 | 58 | GetRedirectBrowserTo returns the RedirectBrowserTo field if non-nil, zero value otherwise. 59 | 60 | ### GetRedirectBrowserToOk 61 | 62 | `func (o *NeedsPrivilegedSessionError) GetRedirectBrowserToOk() (*string, bool)` 63 | 64 | GetRedirectBrowserToOk returns a tuple with the RedirectBrowserTo field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetRedirectBrowserTo 68 | 69 | `func (o *NeedsPrivilegedSessionError) SetRedirectBrowserTo(v string)` 70 | 71 | SetRedirectBrowserTo sets RedirectBrowserTo field to given value. 72 | 73 | 74 | 75 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 76 | 77 | 78 | -------------------------------------------------------------------------------- /docs/PatchIdentitiesBody.md: -------------------------------------------------------------------------------- 1 | # PatchIdentitiesBody 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Identities** | Pointer to [**[]IdentityPatch**](IdentityPatch.md) | Identities holds the list of patches to apply required | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewPatchIdentitiesBody 12 | 13 | `func NewPatchIdentitiesBody() *PatchIdentitiesBody` 14 | 15 | NewPatchIdentitiesBody instantiates a new PatchIdentitiesBody object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewPatchIdentitiesBodyWithDefaults 21 | 22 | `func NewPatchIdentitiesBodyWithDefaults() *PatchIdentitiesBody` 23 | 24 | NewPatchIdentitiesBodyWithDefaults instantiates a new PatchIdentitiesBody object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetIdentities 29 | 30 | `func (o *PatchIdentitiesBody) GetIdentities() []IdentityPatch` 31 | 32 | GetIdentities returns the Identities field if non-nil, zero value otherwise. 33 | 34 | ### GetIdentitiesOk 35 | 36 | `func (o *PatchIdentitiesBody) GetIdentitiesOk() (*[]IdentityPatch, bool)` 37 | 38 | GetIdentitiesOk returns a tuple with the Identities field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetIdentities 42 | 43 | `func (o *PatchIdentitiesBody) SetIdentities(v []IdentityPatch)` 44 | 45 | SetIdentities sets Identities field to given value. 46 | 47 | ### HasIdentities 48 | 49 | `func (o *PatchIdentitiesBody) HasIdentities() bool` 50 | 51 | HasIdentities returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/PerformNativeLogoutBody.md: -------------------------------------------------------------------------------- 1 | # PerformNativeLogoutBody 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **SessionToken** | **string** | The Session Token Invalidate this session token. | 8 | 9 | ## Methods 10 | 11 | ### NewPerformNativeLogoutBody 12 | 13 | `func NewPerformNativeLogoutBody(sessionToken string, ) *PerformNativeLogoutBody` 14 | 15 | NewPerformNativeLogoutBody instantiates a new PerformNativeLogoutBody object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewPerformNativeLogoutBodyWithDefaults 21 | 22 | `func NewPerformNativeLogoutBodyWithDefaults() *PerformNativeLogoutBody` 23 | 24 | NewPerformNativeLogoutBodyWithDefaults instantiates a new PerformNativeLogoutBody object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetSessionToken 29 | 30 | `func (o *PerformNativeLogoutBody) GetSessionToken() string` 31 | 32 | GetSessionToken returns the SessionToken field if non-nil, zero value otherwise. 33 | 34 | ### GetSessionTokenOk 35 | 36 | `func (o *PerformNativeLogoutBody) GetSessionTokenOk() (*string, bool)` 37 | 38 | GetSessionTokenOk returns a tuple with the SessionToken field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetSessionToken 42 | 43 | `func (o *PerformNativeLogoutBody) SetSessionToken(v string)` 44 | 45 | SetSessionToken sets SessionToken field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /docs/RecoveryCodeForIdentity.md: -------------------------------------------------------------------------------- 1 | # RecoveryCodeForIdentity 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ExpiresAt** | Pointer to **time.Time** | Expires At is the timestamp of when the recovery flow expires The timestamp when the recovery code expires. | [optional] 8 | **RecoveryCode** | **string** | RecoveryCode is the code that can be used to recover the account | 9 | **RecoveryLink** | **string** | RecoveryLink with flow This link opens the recovery UI with an empty `code` field. | 10 | 11 | ## Methods 12 | 13 | ### NewRecoveryCodeForIdentity 14 | 15 | `func NewRecoveryCodeForIdentity(recoveryCode string, recoveryLink string, ) *RecoveryCodeForIdentity` 16 | 17 | NewRecoveryCodeForIdentity instantiates a new RecoveryCodeForIdentity object 18 | This constructor will assign default values to properties that have it defined, 19 | and makes sure properties required by API are set, but the set of arguments 20 | will change when the set of required properties is changed 21 | 22 | ### NewRecoveryCodeForIdentityWithDefaults 23 | 24 | `func NewRecoveryCodeForIdentityWithDefaults() *RecoveryCodeForIdentity` 25 | 26 | NewRecoveryCodeForIdentityWithDefaults instantiates a new RecoveryCodeForIdentity object 27 | This constructor will only assign default values to properties that have it defined, 28 | but it doesn't guarantee that properties required by API are set 29 | 30 | ### GetExpiresAt 31 | 32 | `func (o *RecoveryCodeForIdentity) GetExpiresAt() time.Time` 33 | 34 | GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise. 35 | 36 | ### GetExpiresAtOk 37 | 38 | `func (o *RecoveryCodeForIdentity) GetExpiresAtOk() (*time.Time, bool)` 39 | 40 | GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise 41 | and a boolean to check if the value has been set. 42 | 43 | ### SetExpiresAt 44 | 45 | `func (o *RecoveryCodeForIdentity) SetExpiresAt(v time.Time)` 46 | 47 | SetExpiresAt sets ExpiresAt field to given value. 48 | 49 | ### HasExpiresAt 50 | 51 | `func (o *RecoveryCodeForIdentity) HasExpiresAt() bool` 52 | 53 | HasExpiresAt returns a boolean if a field has been set. 54 | 55 | ### GetRecoveryCode 56 | 57 | `func (o *RecoveryCodeForIdentity) GetRecoveryCode() string` 58 | 59 | GetRecoveryCode returns the RecoveryCode field if non-nil, zero value otherwise. 60 | 61 | ### GetRecoveryCodeOk 62 | 63 | `func (o *RecoveryCodeForIdentity) GetRecoveryCodeOk() (*string, bool)` 64 | 65 | GetRecoveryCodeOk returns a tuple with the RecoveryCode field if it's non-nil, zero value otherwise 66 | and a boolean to check if the value has been set. 67 | 68 | ### SetRecoveryCode 69 | 70 | `func (o *RecoveryCodeForIdentity) SetRecoveryCode(v string)` 71 | 72 | SetRecoveryCode sets RecoveryCode field to given value. 73 | 74 | 75 | ### GetRecoveryLink 76 | 77 | `func (o *RecoveryCodeForIdentity) GetRecoveryLink() string` 78 | 79 | GetRecoveryLink returns the RecoveryLink field if non-nil, zero value otherwise. 80 | 81 | ### GetRecoveryLinkOk 82 | 83 | `func (o *RecoveryCodeForIdentity) GetRecoveryLinkOk() (*string, bool)` 84 | 85 | GetRecoveryLinkOk returns a tuple with the RecoveryLink field if it's non-nil, zero value otherwise 86 | and a boolean to check if the value has been set. 87 | 88 | ### SetRecoveryLink 89 | 90 | `func (o *RecoveryCodeForIdentity) SetRecoveryLink(v string)` 91 | 92 | SetRecoveryLink sets RecoveryLink field to given value. 93 | 94 | 95 | 96 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 97 | 98 | 99 | -------------------------------------------------------------------------------- /docs/RecoveryFlowState.md: -------------------------------------------------------------------------------- 1 | # RecoveryFlowState 2 | 3 | ## Enum 4 | 5 | 6 | * `CHOOSE_METHOD` (value: `"choose_method"`) 7 | 8 | * `SENT_EMAIL` (value: `"sent_email"`) 9 | 10 | * `PASSED_CHALLENGE` (value: `"passed_challenge"`) 11 | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/RecoveryLinkForIdentity.md: -------------------------------------------------------------------------------- 1 | # RecoveryLinkForIdentity 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ExpiresAt** | Pointer to **time.Time** | Recovery Link Expires At The timestamp when the recovery link expires. | [optional] 8 | **RecoveryLink** | **string** | Recovery Link This link can be used to recover the account. | 9 | 10 | ## Methods 11 | 12 | ### NewRecoveryLinkForIdentity 13 | 14 | `func NewRecoveryLinkForIdentity(recoveryLink string, ) *RecoveryLinkForIdentity` 15 | 16 | NewRecoveryLinkForIdentity instantiates a new RecoveryLinkForIdentity object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewRecoveryLinkForIdentityWithDefaults 22 | 23 | `func NewRecoveryLinkForIdentityWithDefaults() *RecoveryLinkForIdentity` 24 | 25 | NewRecoveryLinkForIdentityWithDefaults instantiates a new RecoveryLinkForIdentity object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetExpiresAt 30 | 31 | `func (o *RecoveryLinkForIdentity) GetExpiresAt() time.Time` 32 | 33 | GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise. 34 | 35 | ### GetExpiresAtOk 36 | 37 | `func (o *RecoveryLinkForIdentity) GetExpiresAtOk() (*time.Time, bool)` 38 | 39 | GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetExpiresAt 43 | 44 | `func (o *RecoveryLinkForIdentity) SetExpiresAt(v time.Time)` 45 | 46 | SetExpiresAt sets ExpiresAt field to given value. 47 | 48 | ### HasExpiresAt 49 | 50 | `func (o *RecoveryLinkForIdentity) HasExpiresAt() bool` 51 | 52 | HasExpiresAt returns a boolean if a field has been set. 53 | 54 | ### GetRecoveryLink 55 | 56 | `func (o *RecoveryLinkForIdentity) GetRecoveryLink() string` 57 | 58 | GetRecoveryLink returns the RecoveryLink field if non-nil, zero value otherwise. 59 | 60 | ### GetRecoveryLinkOk 61 | 62 | `func (o *RecoveryLinkForIdentity) GetRecoveryLinkOk() (*string, bool)` 63 | 64 | GetRecoveryLinkOk returns a tuple with the RecoveryLink field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetRecoveryLink 68 | 69 | `func (o *RecoveryLinkForIdentity) SetRecoveryLink(v string)` 70 | 71 | SetRecoveryLink sets RecoveryLink field to given value. 72 | 73 | 74 | 75 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 76 | 77 | 78 | -------------------------------------------------------------------------------- /docs/RegistrationFlowState.md: -------------------------------------------------------------------------------- 1 | # RegistrationFlowState 2 | 3 | ## Enum 4 | 5 | 6 | * `CHOOSE_METHOD` (value: `"choose_method"`) 7 | 8 | * `SENT_EMAIL` (value: `"sent_email"`) 9 | 10 | * `PASSED_CHALLENGE` (value: `"passed_challenge"`) 11 | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/SessionDevice.md: -------------------------------------------------------------------------------- 1 | # SessionDevice 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Id** | **string** | Device record ID | 8 | **IpAddress** | Pointer to **string** | IPAddress of the client | [optional] 9 | **Location** | Pointer to **string** | Geo Location corresponding to the IP Address | [optional] 10 | **UserAgent** | Pointer to **string** | UserAgent of the client | [optional] 11 | 12 | ## Methods 13 | 14 | ### NewSessionDevice 15 | 16 | `func NewSessionDevice(id string, ) *SessionDevice` 17 | 18 | NewSessionDevice instantiates a new SessionDevice object 19 | This constructor will assign default values to properties that have it defined, 20 | and makes sure properties required by API are set, but the set of arguments 21 | will change when the set of required properties is changed 22 | 23 | ### NewSessionDeviceWithDefaults 24 | 25 | `func NewSessionDeviceWithDefaults() *SessionDevice` 26 | 27 | NewSessionDeviceWithDefaults instantiates a new SessionDevice object 28 | This constructor will only assign default values to properties that have it defined, 29 | but it doesn't guarantee that properties required by API are set 30 | 31 | ### GetId 32 | 33 | `func (o *SessionDevice) GetId() string` 34 | 35 | GetId returns the Id field if non-nil, zero value otherwise. 36 | 37 | ### GetIdOk 38 | 39 | `func (o *SessionDevice) GetIdOk() (*string, bool)` 40 | 41 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 42 | and a boolean to check if the value has been set. 43 | 44 | ### SetId 45 | 46 | `func (o *SessionDevice) SetId(v string)` 47 | 48 | SetId sets Id field to given value. 49 | 50 | 51 | ### GetIpAddress 52 | 53 | `func (o *SessionDevice) GetIpAddress() string` 54 | 55 | GetIpAddress returns the IpAddress field if non-nil, zero value otherwise. 56 | 57 | ### GetIpAddressOk 58 | 59 | `func (o *SessionDevice) GetIpAddressOk() (*string, bool)` 60 | 61 | GetIpAddressOk returns a tuple with the IpAddress field if it's non-nil, zero value otherwise 62 | and a boolean to check if the value has been set. 63 | 64 | ### SetIpAddress 65 | 66 | `func (o *SessionDevice) SetIpAddress(v string)` 67 | 68 | SetIpAddress sets IpAddress field to given value. 69 | 70 | ### HasIpAddress 71 | 72 | `func (o *SessionDevice) HasIpAddress() bool` 73 | 74 | HasIpAddress returns a boolean if a field has been set. 75 | 76 | ### GetLocation 77 | 78 | `func (o *SessionDevice) GetLocation() string` 79 | 80 | GetLocation returns the Location field if non-nil, zero value otherwise. 81 | 82 | ### GetLocationOk 83 | 84 | `func (o *SessionDevice) GetLocationOk() (*string, bool)` 85 | 86 | GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise 87 | and a boolean to check if the value has been set. 88 | 89 | ### SetLocation 90 | 91 | `func (o *SessionDevice) SetLocation(v string)` 92 | 93 | SetLocation sets Location field to given value. 94 | 95 | ### HasLocation 96 | 97 | `func (o *SessionDevice) HasLocation() bool` 98 | 99 | HasLocation returns a boolean if a field has been set. 100 | 101 | ### GetUserAgent 102 | 103 | `func (o *SessionDevice) GetUserAgent() string` 104 | 105 | GetUserAgent returns the UserAgent field if non-nil, zero value otherwise. 106 | 107 | ### GetUserAgentOk 108 | 109 | `func (o *SessionDevice) GetUserAgentOk() (*string, bool)` 110 | 111 | GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise 112 | and a boolean to check if the value has been set. 113 | 114 | ### SetUserAgent 115 | 116 | `func (o *SessionDevice) SetUserAgent(v string)` 117 | 118 | SetUserAgent sets UserAgent field to given value. 119 | 120 | ### HasUserAgent 121 | 122 | `func (o *SessionDevice) HasUserAgent() bool` 123 | 124 | HasUserAgent returns a boolean if a field has been set. 125 | 126 | 127 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 128 | 129 | 130 | -------------------------------------------------------------------------------- /docs/SettingsFlowState.md: -------------------------------------------------------------------------------- 1 | # SettingsFlowState 2 | 3 | ## Enum 4 | 5 | 6 | * `SHOW_FORM` (value: `"show_form"`) 7 | 8 | * `SUCCESS` (value: `"success"`) 9 | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/SuccessfulCodeExchangeResponse.md: -------------------------------------------------------------------------------- 1 | # SuccessfulCodeExchangeResponse 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Session** | [**Session**](Session.md) | | 8 | **SessionToken** | Pointer to **string** | The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewSuccessfulCodeExchangeResponse 13 | 14 | `func NewSuccessfulCodeExchangeResponse(session Session, ) *SuccessfulCodeExchangeResponse` 15 | 16 | NewSuccessfulCodeExchangeResponse instantiates a new SuccessfulCodeExchangeResponse object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewSuccessfulCodeExchangeResponseWithDefaults 22 | 23 | `func NewSuccessfulCodeExchangeResponseWithDefaults() *SuccessfulCodeExchangeResponse` 24 | 25 | NewSuccessfulCodeExchangeResponseWithDefaults instantiates a new SuccessfulCodeExchangeResponse object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetSession 30 | 31 | `func (o *SuccessfulCodeExchangeResponse) GetSession() Session` 32 | 33 | GetSession returns the Session field if non-nil, zero value otherwise. 34 | 35 | ### GetSessionOk 36 | 37 | `func (o *SuccessfulCodeExchangeResponse) GetSessionOk() (*Session, bool)` 38 | 39 | GetSessionOk returns a tuple with the Session field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetSession 43 | 44 | `func (o *SuccessfulCodeExchangeResponse) SetSession(v Session)` 45 | 46 | SetSession sets Session field to given value. 47 | 48 | 49 | ### GetSessionToken 50 | 51 | `func (o *SuccessfulCodeExchangeResponse) GetSessionToken() string` 52 | 53 | GetSessionToken returns the SessionToken field if non-nil, zero value otherwise. 54 | 55 | ### GetSessionTokenOk 56 | 57 | `func (o *SuccessfulCodeExchangeResponse) GetSessionTokenOk() (*string, bool)` 58 | 59 | GetSessionTokenOk returns a tuple with the SessionToken field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetSessionToken 63 | 64 | `func (o *SuccessfulCodeExchangeResponse) SetSessionToken(v string)` 65 | 66 | SetSessionToken sets SessionToken field to given value. 67 | 68 | ### HasSessionToken 69 | 70 | `func (o *SuccessfulCodeExchangeResponse) HasSessionToken() bool` 71 | 72 | HasSessionToken returns a boolean if a field has been set. 73 | 74 | 75 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 76 | 77 | 78 | -------------------------------------------------------------------------------- /docs/SuccessfulNativeLogin.md: -------------------------------------------------------------------------------- 1 | # SuccessfulNativeLogin 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ContinueWith** | Pointer to [**[]ContinueWith**](ContinueWith.md) | Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. | [optional] 8 | **Session** | [**Session**](Session.md) | | 9 | **SessionToken** | Pointer to **string** | The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | [optional] 10 | 11 | ## Methods 12 | 13 | ### NewSuccessfulNativeLogin 14 | 15 | `func NewSuccessfulNativeLogin(session Session, ) *SuccessfulNativeLogin` 16 | 17 | NewSuccessfulNativeLogin instantiates a new SuccessfulNativeLogin object 18 | This constructor will assign default values to properties that have it defined, 19 | and makes sure properties required by API are set, but the set of arguments 20 | will change when the set of required properties is changed 21 | 22 | ### NewSuccessfulNativeLoginWithDefaults 23 | 24 | `func NewSuccessfulNativeLoginWithDefaults() *SuccessfulNativeLogin` 25 | 26 | NewSuccessfulNativeLoginWithDefaults instantiates a new SuccessfulNativeLogin object 27 | This constructor will only assign default values to properties that have it defined, 28 | but it doesn't guarantee that properties required by API are set 29 | 30 | ### GetContinueWith 31 | 32 | `func (o *SuccessfulNativeLogin) GetContinueWith() []ContinueWith` 33 | 34 | GetContinueWith returns the ContinueWith field if non-nil, zero value otherwise. 35 | 36 | ### GetContinueWithOk 37 | 38 | `func (o *SuccessfulNativeLogin) GetContinueWithOk() (*[]ContinueWith, bool)` 39 | 40 | GetContinueWithOk returns a tuple with the ContinueWith field if it's non-nil, zero value otherwise 41 | and a boolean to check if the value has been set. 42 | 43 | ### SetContinueWith 44 | 45 | `func (o *SuccessfulNativeLogin) SetContinueWith(v []ContinueWith)` 46 | 47 | SetContinueWith sets ContinueWith field to given value. 48 | 49 | ### HasContinueWith 50 | 51 | `func (o *SuccessfulNativeLogin) HasContinueWith() bool` 52 | 53 | HasContinueWith returns a boolean if a field has been set. 54 | 55 | ### GetSession 56 | 57 | `func (o *SuccessfulNativeLogin) GetSession() Session` 58 | 59 | GetSession returns the Session field if non-nil, zero value otherwise. 60 | 61 | ### GetSessionOk 62 | 63 | `func (o *SuccessfulNativeLogin) GetSessionOk() (*Session, bool)` 64 | 65 | GetSessionOk returns a tuple with the Session field if it's non-nil, zero value otherwise 66 | and a boolean to check if the value has been set. 67 | 68 | ### SetSession 69 | 70 | `func (o *SuccessfulNativeLogin) SetSession(v Session)` 71 | 72 | SetSession sets Session field to given value. 73 | 74 | 75 | ### GetSessionToken 76 | 77 | `func (o *SuccessfulNativeLogin) GetSessionToken() string` 78 | 79 | GetSessionToken returns the SessionToken field if non-nil, zero value otherwise. 80 | 81 | ### GetSessionTokenOk 82 | 83 | `func (o *SuccessfulNativeLogin) GetSessionTokenOk() (*string, bool)` 84 | 85 | GetSessionTokenOk returns a tuple with the SessionToken field if it's non-nil, zero value otherwise 86 | and a boolean to check if the value has been set. 87 | 88 | ### SetSessionToken 89 | 90 | `func (o *SuccessfulNativeLogin) SetSessionToken(v string)` 91 | 92 | SetSessionToken sets SessionToken field to given value. 93 | 94 | ### HasSessionToken 95 | 96 | `func (o *SuccessfulNativeLogin) HasSessionToken() bool` 97 | 98 | HasSessionToken returns a boolean if a field has been set. 99 | 100 | 101 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 102 | 103 | 104 | -------------------------------------------------------------------------------- /docs/TokenPagination.md: -------------------------------------------------------------------------------- 1 | # TokenPagination 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **PageSize** | Pointer to **int64** | Items per page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). | [optional] [default to 250] 8 | **PageToken** | Pointer to **string** | Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). | [optional] [default to "1"] 9 | 10 | ## Methods 11 | 12 | ### NewTokenPagination 13 | 14 | `func NewTokenPagination() *TokenPagination` 15 | 16 | NewTokenPagination instantiates a new TokenPagination object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewTokenPaginationWithDefaults 22 | 23 | `func NewTokenPaginationWithDefaults() *TokenPagination` 24 | 25 | NewTokenPaginationWithDefaults instantiates a new TokenPagination object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetPageSize 30 | 31 | `func (o *TokenPagination) GetPageSize() int64` 32 | 33 | GetPageSize returns the PageSize field if non-nil, zero value otherwise. 34 | 35 | ### GetPageSizeOk 36 | 37 | `func (o *TokenPagination) GetPageSizeOk() (*int64, bool)` 38 | 39 | GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetPageSize 43 | 44 | `func (o *TokenPagination) SetPageSize(v int64)` 45 | 46 | SetPageSize sets PageSize field to given value. 47 | 48 | ### HasPageSize 49 | 50 | `func (o *TokenPagination) HasPageSize() bool` 51 | 52 | HasPageSize returns a boolean if a field has been set. 53 | 54 | ### GetPageToken 55 | 56 | `func (o *TokenPagination) GetPageToken() string` 57 | 58 | GetPageToken returns the PageToken field if non-nil, zero value otherwise. 59 | 60 | ### GetPageTokenOk 61 | 62 | `func (o *TokenPagination) GetPageTokenOk() (*string, bool)` 63 | 64 | GetPageTokenOk returns a tuple with the PageToken field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetPageToken 68 | 69 | `func (o *TokenPagination) SetPageToken(v string)` 70 | 71 | SetPageToken sets PageToken field to given value. 72 | 73 | ### HasPageToken 74 | 75 | `func (o *TokenPagination) HasPageToken() bool` 76 | 77 | HasPageToken returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/TokenPaginationHeaders.md: -------------------------------------------------------------------------------- 1 | # TokenPaginationHeaders 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Link** | Pointer to **string** | The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header | [optional] 8 | **XTotalCount** | Pointer to **string** | The total number of clients. in: header | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewTokenPaginationHeaders 13 | 14 | `func NewTokenPaginationHeaders() *TokenPaginationHeaders` 15 | 16 | NewTokenPaginationHeaders instantiates a new TokenPaginationHeaders object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewTokenPaginationHeadersWithDefaults 22 | 23 | `func NewTokenPaginationHeadersWithDefaults() *TokenPaginationHeaders` 24 | 25 | NewTokenPaginationHeadersWithDefaults instantiates a new TokenPaginationHeaders object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetLink 30 | 31 | `func (o *TokenPaginationHeaders) GetLink() string` 32 | 33 | GetLink returns the Link field if non-nil, zero value otherwise. 34 | 35 | ### GetLinkOk 36 | 37 | `func (o *TokenPaginationHeaders) GetLinkOk() (*string, bool)` 38 | 39 | GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetLink 43 | 44 | `func (o *TokenPaginationHeaders) SetLink(v string)` 45 | 46 | SetLink sets Link field to given value. 47 | 48 | ### HasLink 49 | 50 | `func (o *TokenPaginationHeaders) HasLink() bool` 51 | 52 | HasLink returns a boolean if a field has been set. 53 | 54 | ### GetXTotalCount 55 | 56 | `func (o *TokenPaginationHeaders) GetXTotalCount() string` 57 | 58 | GetXTotalCount returns the XTotalCount field if non-nil, zero value otherwise. 59 | 60 | ### GetXTotalCountOk 61 | 62 | `func (o *TokenPaginationHeaders) GetXTotalCountOk() (*string, bool)` 63 | 64 | GetXTotalCountOk returns a tuple with the XTotalCount field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetXTotalCount 68 | 69 | `func (o *TokenPaginationHeaders) SetXTotalCount(v string)` 70 | 71 | SetXTotalCount sets XTotalCount field to given value. 72 | 73 | ### HasXTotalCount 74 | 75 | `func (o *TokenPaginationHeaders) HasXTotalCount() bool` 76 | 77 | HasXTotalCount returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /docs/UiContainer.md: -------------------------------------------------------------------------------- 1 | # UiContainer 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Action** | **string** | Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`. | 8 | **Messages** | Pointer to [**[]UiText**](UiText.md) | | [optional] 9 | **Method** | **string** | Method is the form method (e.g. POST) | 10 | **Nodes** | [**[]UiNode**](UiNode.md) | | 11 | 12 | ## Methods 13 | 14 | ### NewUiContainer 15 | 16 | `func NewUiContainer(action string, method string, nodes []UiNode, ) *UiContainer` 17 | 18 | NewUiContainer instantiates a new UiContainer object 19 | This constructor will assign default values to properties that have it defined, 20 | and makes sure properties required by API are set, but the set of arguments 21 | will change when the set of required properties is changed 22 | 23 | ### NewUiContainerWithDefaults 24 | 25 | `func NewUiContainerWithDefaults() *UiContainer` 26 | 27 | NewUiContainerWithDefaults instantiates a new UiContainer object 28 | This constructor will only assign default values to properties that have it defined, 29 | but it doesn't guarantee that properties required by API are set 30 | 31 | ### GetAction 32 | 33 | `func (o *UiContainer) GetAction() string` 34 | 35 | GetAction returns the Action field if non-nil, zero value otherwise. 36 | 37 | ### GetActionOk 38 | 39 | `func (o *UiContainer) GetActionOk() (*string, bool)` 40 | 41 | GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise 42 | and a boolean to check if the value has been set. 43 | 44 | ### SetAction 45 | 46 | `func (o *UiContainer) SetAction(v string)` 47 | 48 | SetAction sets Action field to given value. 49 | 50 | 51 | ### GetMessages 52 | 53 | `func (o *UiContainer) GetMessages() []UiText` 54 | 55 | GetMessages returns the Messages field if non-nil, zero value otherwise. 56 | 57 | ### GetMessagesOk 58 | 59 | `func (o *UiContainer) GetMessagesOk() (*[]UiText, bool)` 60 | 61 | GetMessagesOk returns a tuple with the Messages field if it's non-nil, zero value otherwise 62 | and a boolean to check if the value has been set. 63 | 64 | ### SetMessages 65 | 66 | `func (o *UiContainer) SetMessages(v []UiText)` 67 | 68 | SetMessages sets Messages field to given value. 69 | 70 | ### HasMessages 71 | 72 | `func (o *UiContainer) HasMessages() bool` 73 | 74 | HasMessages returns a boolean if a field has been set. 75 | 76 | ### GetMethod 77 | 78 | `func (o *UiContainer) GetMethod() string` 79 | 80 | GetMethod returns the Method field if non-nil, zero value otherwise. 81 | 82 | ### GetMethodOk 83 | 84 | `func (o *UiContainer) GetMethodOk() (*string, bool)` 85 | 86 | GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise 87 | and a boolean to check if the value has been set. 88 | 89 | ### SetMethod 90 | 91 | `func (o *UiContainer) SetMethod(v string)` 92 | 93 | SetMethod sets Method field to given value. 94 | 95 | 96 | ### GetNodes 97 | 98 | `func (o *UiContainer) GetNodes() []UiNode` 99 | 100 | GetNodes returns the Nodes field if non-nil, zero value otherwise. 101 | 102 | ### GetNodesOk 103 | 104 | `func (o *UiContainer) GetNodesOk() (*[]UiNode, bool)` 105 | 106 | GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise 107 | and a boolean to check if the value has been set. 108 | 109 | ### SetNodes 110 | 111 | `func (o *UiContainer) SetNodes(v []UiNode)` 112 | 113 | SetNodes sets Nodes field to given value. 114 | 115 | 116 | 117 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 118 | 119 | 120 | -------------------------------------------------------------------------------- /docs/UiNodeAnchorAttributes.md: -------------------------------------------------------------------------------- 1 | # UiNodeAnchorAttributes 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Href** | **string** | The link's href (destination) URL. format: uri | 8 | **Id** | **string** | A unique identifier | 9 | **NodeType** | **string** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". text Text input Input img Image a Anchor script Script | 10 | **Title** | [**UiText**](UiText.md) | | 11 | 12 | ## Methods 13 | 14 | ### NewUiNodeAnchorAttributes 15 | 16 | `func NewUiNodeAnchorAttributes(href string, id string, nodeType string, title UiText, ) *UiNodeAnchorAttributes` 17 | 18 | NewUiNodeAnchorAttributes instantiates a new UiNodeAnchorAttributes object 19 | This constructor will assign default values to properties that have it defined, 20 | and makes sure properties required by API are set, but the set of arguments 21 | will change when the set of required properties is changed 22 | 23 | ### NewUiNodeAnchorAttributesWithDefaults 24 | 25 | `func NewUiNodeAnchorAttributesWithDefaults() *UiNodeAnchorAttributes` 26 | 27 | NewUiNodeAnchorAttributesWithDefaults instantiates a new UiNodeAnchorAttributes object 28 | This constructor will only assign default values to properties that have it defined, 29 | but it doesn't guarantee that properties required by API are set 30 | 31 | ### GetHref 32 | 33 | `func (o *UiNodeAnchorAttributes) GetHref() string` 34 | 35 | GetHref returns the Href field if non-nil, zero value otherwise. 36 | 37 | ### GetHrefOk 38 | 39 | `func (o *UiNodeAnchorAttributes) GetHrefOk() (*string, bool)` 40 | 41 | GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise 42 | and a boolean to check if the value has been set. 43 | 44 | ### SetHref 45 | 46 | `func (o *UiNodeAnchorAttributes) SetHref(v string)` 47 | 48 | SetHref sets Href field to given value. 49 | 50 | 51 | ### GetId 52 | 53 | `func (o *UiNodeAnchorAttributes) GetId() string` 54 | 55 | GetId returns the Id field if non-nil, zero value otherwise. 56 | 57 | ### GetIdOk 58 | 59 | `func (o *UiNodeAnchorAttributes) GetIdOk() (*string, bool)` 60 | 61 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 62 | and a boolean to check if the value has been set. 63 | 64 | ### SetId 65 | 66 | `func (o *UiNodeAnchorAttributes) SetId(v string)` 67 | 68 | SetId sets Id field to given value. 69 | 70 | 71 | ### GetNodeType 72 | 73 | `func (o *UiNodeAnchorAttributes) GetNodeType() string` 74 | 75 | GetNodeType returns the NodeType field if non-nil, zero value otherwise. 76 | 77 | ### GetNodeTypeOk 78 | 79 | `func (o *UiNodeAnchorAttributes) GetNodeTypeOk() (*string, bool)` 80 | 81 | GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise 82 | and a boolean to check if the value has been set. 83 | 84 | ### SetNodeType 85 | 86 | `func (o *UiNodeAnchorAttributes) SetNodeType(v string)` 87 | 88 | SetNodeType sets NodeType field to given value. 89 | 90 | 91 | ### GetTitle 92 | 93 | `func (o *UiNodeAnchorAttributes) GetTitle() UiText` 94 | 95 | GetTitle returns the Title field if non-nil, zero value otherwise. 96 | 97 | ### GetTitleOk 98 | 99 | `func (o *UiNodeAnchorAttributes) GetTitleOk() (*UiText, bool)` 100 | 101 | GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise 102 | and a boolean to check if the value has been set. 103 | 104 | ### SetTitle 105 | 106 | `func (o *UiNodeAnchorAttributes) SetTitle(v UiText)` 107 | 108 | SetTitle sets Title field to given value. 109 | 110 | 111 | 112 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 113 | 114 | 115 | -------------------------------------------------------------------------------- /docs/UiNodeMeta.md: -------------------------------------------------------------------------------- 1 | # UiNodeMeta 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Label** | Pointer to [**UiText**](UiText.md) | | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewUiNodeMeta 12 | 13 | `func NewUiNodeMeta() *UiNodeMeta` 14 | 15 | NewUiNodeMeta instantiates a new UiNodeMeta object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewUiNodeMetaWithDefaults 21 | 22 | `func NewUiNodeMetaWithDefaults() *UiNodeMeta` 23 | 24 | NewUiNodeMetaWithDefaults instantiates a new UiNodeMeta object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetLabel 29 | 30 | `func (o *UiNodeMeta) GetLabel() UiText` 31 | 32 | GetLabel returns the Label field if non-nil, zero value otherwise. 33 | 34 | ### GetLabelOk 35 | 36 | `func (o *UiNodeMeta) GetLabelOk() (*UiText, bool)` 37 | 38 | GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetLabel 42 | 43 | `func (o *UiNodeMeta) SetLabel(v UiText)` 44 | 45 | SetLabel sets Label field to given value. 46 | 47 | ### HasLabel 48 | 49 | `func (o *UiNodeMeta) HasLabel() bool` 50 | 51 | HasLabel returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/UiNodeTextAttributes.md: -------------------------------------------------------------------------------- 1 | # UiNodeTextAttributes 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Id** | **string** | A unique identifier | 8 | **NodeType** | **string** | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". text Text input Input img Image a Anchor script Script | 9 | **Text** | [**UiText**](UiText.md) | | 10 | 11 | ## Methods 12 | 13 | ### NewUiNodeTextAttributes 14 | 15 | `func NewUiNodeTextAttributes(id string, nodeType string, text UiText, ) *UiNodeTextAttributes` 16 | 17 | NewUiNodeTextAttributes instantiates a new UiNodeTextAttributes object 18 | This constructor will assign default values to properties that have it defined, 19 | and makes sure properties required by API are set, but the set of arguments 20 | will change when the set of required properties is changed 21 | 22 | ### NewUiNodeTextAttributesWithDefaults 23 | 24 | `func NewUiNodeTextAttributesWithDefaults() *UiNodeTextAttributes` 25 | 26 | NewUiNodeTextAttributesWithDefaults instantiates a new UiNodeTextAttributes object 27 | This constructor will only assign default values to properties that have it defined, 28 | but it doesn't guarantee that properties required by API are set 29 | 30 | ### GetId 31 | 32 | `func (o *UiNodeTextAttributes) GetId() string` 33 | 34 | GetId returns the Id field if non-nil, zero value otherwise. 35 | 36 | ### GetIdOk 37 | 38 | `func (o *UiNodeTextAttributes) GetIdOk() (*string, bool)` 39 | 40 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 41 | and a boolean to check if the value has been set. 42 | 43 | ### SetId 44 | 45 | `func (o *UiNodeTextAttributes) SetId(v string)` 46 | 47 | SetId sets Id field to given value. 48 | 49 | 50 | ### GetNodeType 51 | 52 | `func (o *UiNodeTextAttributes) GetNodeType() string` 53 | 54 | GetNodeType returns the NodeType field if non-nil, zero value otherwise. 55 | 56 | ### GetNodeTypeOk 57 | 58 | `func (o *UiNodeTextAttributes) GetNodeTypeOk() (*string, bool)` 59 | 60 | GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise 61 | and a boolean to check if the value has been set. 62 | 63 | ### SetNodeType 64 | 65 | `func (o *UiNodeTextAttributes) SetNodeType(v string)` 66 | 67 | SetNodeType sets NodeType field to given value. 68 | 69 | 70 | ### GetText 71 | 72 | `func (o *UiNodeTextAttributes) GetText() UiText` 73 | 74 | GetText returns the Text field if non-nil, zero value otherwise. 75 | 76 | ### GetTextOk 77 | 78 | `func (o *UiNodeTextAttributes) GetTextOk() (*UiText, bool)` 79 | 80 | GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise 81 | and a boolean to check if the value has been set. 82 | 83 | ### SetText 84 | 85 | `func (o *UiNodeTextAttributes) SetText(v UiText)` 86 | 87 | SetText sets Text field to given value. 88 | 89 | 90 | 91 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 92 | 93 | 94 | -------------------------------------------------------------------------------- /docs/UiText.md: -------------------------------------------------------------------------------- 1 | # UiText 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Context** | Pointer to **map[string]interface{}** | The message's context. Useful when customizing messages. | [optional] 8 | **Id** | **int64** | | 9 | **Text** | **string** | The message text. Written in american english. | 10 | **Type** | **string** | The message type. info Info error Error success Success | 11 | 12 | ## Methods 13 | 14 | ### NewUiText 15 | 16 | `func NewUiText(id int64, text string, type_ string, ) *UiText` 17 | 18 | NewUiText instantiates a new UiText object 19 | This constructor will assign default values to properties that have it defined, 20 | and makes sure properties required by API are set, but the set of arguments 21 | will change when the set of required properties is changed 22 | 23 | ### NewUiTextWithDefaults 24 | 25 | `func NewUiTextWithDefaults() *UiText` 26 | 27 | NewUiTextWithDefaults instantiates a new UiText object 28 | This constructor will only assign default values to properties that have it defined, 29 | but it doesn't guarantee that properties required by API are set 30 | 31 | ### GetContext 32 | 33 | `func (o *UiText) GetContext() map[string]interface{}` 34 | 35 | GetContext returns the Context field if non-nil, zero value otherwise. 36 | 37 | ### GetContextOk 38 | 39 | `func (o *UiText) GetContextOk() (*map[string]interface{}, bool)` 40 | 41 | GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise 42 | and a boolean to check if the value has been set. 43 | 44 | ### SetContext 45 | 46 | `func (o *UiText) SetContext(v map[string]interface{})` 47 | 48 | SetContext sets Context field to given value. 49 | 50 | ### HasContext 51 | 52 | `func (o *UiText) HasContext() bool` 53 | 54 | HasContext returns a boolean if a field has been set. 55 | 56 | ### GetId 57 | 58 | `func (o *UiText) GetId() int64` 59 | 60 | GetId returns the Id field if non-nil, zero value otherwise. 61 | 62 | ### GetIdOk 63 | 64 | `func (o *UiText) GetIdOk() (*int64, bool)` 65 | 66 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 67 | and a boolean to check if the value has been set. 68 | 69 | ### SetId 70 | 71 | `func (o *UiText) SetId(v int64)` 72 | 73 | SetId sets Id field to given value. 74 | 75 | 76 | ### GetText 77 | 78 | `func (o *UiText) GetText() string` 79 | 80 | GetText returns the Text field if non-nil, zero value otherwise. 81 | 82 | ### GetTextOk 83 | 84 | `func (o *UiText) GetTextOk() (*string, bool)` 85 | 86 | GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise 87 | and a boolean to check if the value has been set. 88 | 89 | ### SetText 90 | 91 | `func (o *UiText) SetText(v string)` 92 | 93 | SetText sets Text field to given value. 94 | 95 | 96 | ### GetType 97 | 98 | `func (o *UiText) GetType() string` 99 | 100 | GetType returns the Type field if non-nil, zero value otherwise. 101 | 102 | ### GetTypeOk 103 | 104 | `func (o *UiText) GetTypeOk() (*string, bool)` 105 | 106 | GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 107 | and a boolean to check if the value has been set. 108 | 109 | ### SetType 110 | 111 | `func (o *UiText) SetType(v string)` 112 | 113 | SetType sets Type field to given value. 114 | 115 | 116 | 117 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 118 | 119 | 120 | -------------------------------------------------------------------------------- /docs/UpdateFedcmFlowBody.md: -------------------------------------------------------------------------------- 1 | # UpdateFedcmFlowBody 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **CsrfToken** | **string** | CSRFToken is the anti-CSRF token. | 8 | **Nonce** | Pointer to **string** | Nonce is the nonce that was used in the `navigator.credentials.get` call. If specified, it must match the `nonce` claim in the token. | [optional] 9 | **Token** | **string** | Token contains the result of `navigator.credentials.get`. | 10 | 11 | ## Methods 12 | 13 | ### NewUpdateFedcmFlowBody 14 | 15 | `func NewUpdateFedcmFlowBody(csrfToken string, token string, ) *UpdateFedcmFlowBody` 16 | 17 | NewUpdateFedcmFlowBody instantiates a new UpdateFedcmFlowBody object 18 | This constructor will assign default values to properties that have it defined, 19 | and makes sure properties required by API are set, but the set of arguments 20 | will change when the set of required properties is changed 21 | 22 | ### NewUpdateFedcmFlowBodyWithDefaults 23 | 24 | `func NewUpdateFedcmFlowBodyWithDefaults() *UpdateFedcmFlowBody` 25 | 26 | NewUpdateFedcmFlowBodyWithDefaults instantiates a new UpdateFedcmFlowBody object 27 | This constructor will only assign default values to properties that have it defined, 28 | but it doesn't guarantee that properties required by API are set 29 | 30 | ### GetCsrfToken 31 | 32 | `func (o *UpdateFedcmFlowBody) GetCsrfToken() string` 33 | 34 | GetCsrfToken returns the CsrfToken field if non-nil, zero value otherwise. 35 | 36 | ### GetCsrfTokenOk 37 | 38 | `func (o *UpdateFedcmFlowBody) GetCsrfTokenOk() (*string, bool)` 39 | 40 | GetCsrfTokenOk returns a tuple with the CsrfToken field if it's non-nil, zero value otherwise 41 | and a boolean to check if the value has been set. 42 | 43 | ### SetCsrfToken 44 | 45 | `func (o *UpdateFedcmFlowBody) SetCsrfToken(v string)` 46 | 47 | SetCsrfToken sets CsrfToken field to given value. 48 | 49 | 50 | ### GetNonce 51 | 52 | `func (o *UpdateFedcmFlowBody) GetNonce() string` 53 | 54 | GetNonce returns the Nonce field if non-nil, zero value otherwise. 55 | 56 | ### GetNonceOk 57 | 58 | `func (o *UpdateFedcmFlowBody) GetNonceOk() (*string, bool)` 59 | 60 | GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise 61 | and a boolean to check if the value has been set. 62 | 63 | ### SetNonce 64 | 65 | `func (o *UpdateFedcmFlowBody) SetNonce(v string)` 66 | 67 | SetNonce sets Nonce field to given value. 68 | 69 | ### HasNonce 70 | 71 | `func (o *UpdateFedcmFlowBody) HasNonce() bool` 72 | 73 | HasNonce returns a boolean if a field has been set. 74 | 75 | ### GetToken 76 | 77 | `func (o *UpdateFedcmFlowBody) GetToken() string` 78 | 79 | GetToken returns the Token field if non-nil, zero value otherwise. 80 | 81 | ### GetTokenOk 82 | 83 | `func (o *UpdateFedcmFlowBody) GetTokenOk() (*string, bool)` 84 | 85 | GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise 86 | and a boolean to check if the value has been set. 87 | 88 | ### SetToken 89 | 90 | `func (o *UpdateFedcmFlowBody) SetToken(v string)` 91 | 92 | SetToken sets Token field to given value. 93 | 94 | 95 | 96 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 97 | 98 | 99 | -------------------------------------------------------------------------------- /docs/UpdateLoginFlowWithLookupSecretMethod.md: -------------------------------------------------------------------------------- 1 | # UpdateLoginFlowWithLookupSecretMethod 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **CsrfToken** | Pointer to **string** | Sending the anti-csrf token is only required for browser login flows. | [optional] 8 | **LookupSecret** | **string** | The lookup secret. | 9 | **Method** | **string** | Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy. | 10 | 11 | ## Methods 12 | 13 | ### NewUpdateLoginFlowWithLookupSecretMethod 14 | 15 | `func NewUpdateLoginFlowWithLookupSecretMethod(lookupSecret string, method string, ) *UpdateLoginFlowWithLookupSecretMethod` 16 | 17 | NewUpdateLoginFlowWithLookupSecretMethod instantiates a new UpdateLoginFlowWithLookupSecretMethod object 18 | This constructor will assign default values to properties that have it defined, 19 | and makes sure properties required by API are set, but the set of arguments 20 | will change when the set of required properties is changed 21 | 22 | ### NewUpdateLoginFlowWithLookupSecretMethodWithDefaults 23 | 24 | `func NewUpdateLoginFlowWithLookupSecretMethodWithDefaults() *UpdateLoginFlowWithLookupSecretMethod` 25 | 26 | NewUpdateLoginFlowWithLookupSecretMethodWithDefaults instantiates a new UpdateLoginFlowWithLookupSecretMethod object 27 | This constructor will only assign default values to properties that have it defined, 28 | but it doesn't guarantee that properties required by API are set 29 | 30 | ### GetCsrfToken 31 | 32 | `func (o *UpdateLoginFlowWithLookupSecretMethod) GetCsrfToken() string` 33 | 34 | GetCsrfToken returns the CsrfToken field if non-nil, zero value otherwise. 35 | 36 | ### GetCsrfTokenOk 37 | 38 | `func (o *UpdateLoginFlowWithLookupSecretMethod) GetCsrfTokenOk() (*string, bool)` 39 | 40 | GetCsrfTokenOk returns a tuple with the CsrfToken field if it's non-nil, zero value otherwise 41 | and a boolean to check if the value has been set. 42 | 43 | ### SetCsrfToken 44 | 45 | `func (o *UpdateLoginFlowWithLookupSecretMethod) SetCsrfToken(v string)` 46 | 47 | SetCsrfToken sets CsrfToken field to given value. 48 | 49 | ### HasCsrfToken 50 | 51 | `func (o *UpdateLoginFlowWithLookupSecretMethod) HasCsrfToken() bool` 52 | 53 | HasCsrfToken returns a boolean if a field has been set. 54 | 55 | ### GetLookupSecret 56 | 57 | `func (o *UpdateLoginFlowWithLookupSecretMethod) GetLookupSecret() string` 58 | 59 | GetLookupSecret returns the LookupSecret field if non-nil, zero value otherwise. 60 | 61 | ### GetLookupSecretOk 62 | 63 | `func (o *UpdateLoginFlowWithLookupSecretMethod) GetLookupSecretOk() (*string, bool)` 64 | 65 | GetLookupSecretOk returns a tuple with the LookupSecret field if it's non-nil, zero value otherwise 66 | and a boolean to check if the value has been set. 67 | 68 | ### SetLookupSecret 69 | 70 | `func (o *UpdateLoginFlowWithLookupSecretMethod) SetLookupSecret(v string)` 71 | 72 | SetLookupSecret sets LookupSecret field to given value. 73 | 74 | 75 | ### GetMethod 76 | 77 | `func (o *UpdateLoginFlowWithLookupSecretMethod) GetMethod() string` 78 | 79 | GetMethod returns the Method field if non-nil, zero value otherwise. 80 | 81 | ### GetMethodOk 82 | 83 | `func (o *UpdateLoginFlowWithLookupSecretMethod) GetMethodOk() (*string, bool)` 84 | 85 | GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise 86 | and a boolean to check if the value has been set. 87 | 88 | ### SetMethod 89 | 90 | `func (o *UpdateLoginFlowWithLookupSecretMethod) SetMethod(v string)` 91 | 92 | SetMethod sets Method field to given value. 93 | 94 | 95 | 96 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 97 | 98 | 99 | -------------------------------------------------------------------------------- /docs/UpdateLoginFlowWithPasskeyMethod.md: -------------------------------------------------------------------------------- 1 | # UpdateLoginFlowWithPasskeyMethod 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **CsrfToken** | Pointer to **string** | Sending the anti-csrf token is only required for browser login flows. | [optional] 8 | **Method** | **string** | Method should be set to \"passkey\" when logging in using the Passkey strategy. | 9 | **PasskeyLogin** | Pointer to **string** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] 10 | 11 | ## Methods 12 | 13 | ### NewUpdateLoginFlowWithPasskeyMethod 14 | 15 | `func NewUpdateLoginFlowWithPasskeyMethod(method string, ) *UpdateLoginFlowWithPasskeyMethod` 16 | 17 | NewUpdateLoginFlowWithPasskeyMethod instantiates a new UpdateLoginFlowWithPasskeyMethod object 18 | This constructor will assign default values to properties that have it defined, 19 | and makes sure properties required by API are set, but the set of arguments 20 | will change when the set of required properties is changed 21 | 22 | ### NewUpdateLoginFlowWithPasskeyMethodWithDefaults 23 | 24 | `func NewUpdateLoginFlowWithPasskeyMethodWithDefaults() *UpdateLoginFlowWithPasskeyMethod` 25 | 26 | NewUpdateLoginFlowWithPasskeyMethodWithDefaults instantiates a new UpdateLoginFlowWithPasskeyMethod object 27 | This constructor will only assign default values to properties that have it defined, 28 | but it doesn't guarantee that properties required by API are set 29 | 30 | ### GetCsrfToken 31 | 32 | `func (o *UpdateLoginFlowWithPasskeyMethod) GetCsrfToken() string` 33 | 34 | GetCsrfToken returns the CsrfToken field if non-nil, zero value otherwise. 35 | 36 | ### GetCsrfTokenOk 37 | 38 | `func (o *UpdateLoginFlowWithPasskeyMethod) GetCsrfTokenOk() (*string, bool)` 39 | 40 | GetCsrfTokenOk returns a tuple with the CsrfToken field if it's non-nil, zero value otherwise 41 | and a boolean to check if the value has been set. 42 | 43 | ### SetCsrfToken 44 | 45 | `func (o *UpdateLoginFlowWithPasskeyMethod) SetCsrfToken(v string)` 46 | 47 | SetCsrfToken sets CsrfToken field to given value. 48 | 49 | ### HasCsrfToken 50 | 51 | `func (o *UpdateLoginFlowWithPasskeyMethod) HasCsrfToken() bool` 52 | 53 | HasCsrfToken returns a boolean if a field has been set. 54 | 55 | ### GetMethod 56 | 57 | `func (o *UpdateLoginFlowWithPasskeyMethod) GetMethod() string` 58 | 59 | GetMethod returns the Method field if non-nil, zero value otherwise. 60 | 61 | ### GetMethodOk 62 | 63 | `func (o *UpdateLoginFlowWithPasskeyMethod) GetMethodOk() (*string, bool)` 64 | 65 | GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise 66 | and a boolean to check if the value has been set. 67 | 68 | ### SetMethod 69 | 70 | `func (o *UpdateLoginFlowWithPasskeyMethod) SetMethod(v string)` 71 | 72 | SetMethod sets Method field to given value. 73 | 74 | 75 | ### GetPasskeyLogin 76 | 77 | `func (o *UpdateLoginFlowWithPasskeyMethod) GetPasskeyLogin() string` 78 | 79 | GetPasskeyLogin returns the PasskeyLogin field if non-nil, zero value otherwise. 80 | 81 | ### GetPasskeyLoginOk 82 | 83 | `func (o *UpdateLoginFlowWithPasskeyMethod) GetPasskeyLoginOk() (*string, bool)` 84 | 85 | GetPasskeyLoginOk returns a tuple with the PasskeyLogin field if it's non-nil, zero value otherwise 86 | and a boolean to check if the value has been set. 87 | 88 | ### SetPasskeyLogin 89 | 90 | `func (o *UpdateLoginFlowWithPasskeyMethod) SetPasskeyLogin(v string)` 91 | 92 | SetPasskeyLogin sets PasskeyLogin field to given value. 93 | 94 | ### HasPasskeyLogin 95 | 96 | `func (o *UpdateLoginFlowWithPasskeyMethod) HasPasskeyLogin() bool` 97 | 98 | HasPasskeyLogin returns a boolean if a field has been set. 99 | 100 | 101 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 102 | 103 | 104 | -------------------------------------------------------------------------------- /docs/VerificationFlowState.md: -------------------------------------------------------------------------------- 1 | # VerificationFlowState 2 | 3 | ## Enum 4 | 5 | 6 | * `CHOOSE_METHOD` (value: `"choose_method"`) 7 | 8 | * `SENT_EMAIL` (value: `"sent_email"`) 9 | 10 | * `PASSED_CHALLENGE` (value: `"passed_challenge"`) 11 | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/Version.md: -------------------------------------------------------------------------------- 1 | # Version 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Version** | Pointer to **string** | Version is the service's version. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewVersion 12 | 13 | `func NewVersion() *Version` 14 | 15 | NewVersion instantiates a new Version object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewVersionWithDefaults 21 | 22 | `func NewVersionWithDefaults() *Version` 23 | 24 | NewVersionWithDefaults instantiates a new Version object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetVersion 29 | 30 | `func (o *Version) GetVersion() string` 31 | 32 | GetVersion returns the Version field if non-nil, zero value otherwise. 33 | 34 | ### GetVersionOk 35 | 36 | `func (o *Version) GetVersionOk() (*string, bool)` 37 | 38 | GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetVersion 42 | 43 | `func (o *Version) SetVersion(v string)` 44 | 45 | SetVersion sets Version field to given value. 46 | 47 | ### HasVersion 48 | 49 | `func (o *Version) HasVersion() bool` 50 | 51 | HasVersion returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /git_push.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ 3 | # 4 | # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" 5 | 6 | git_user_id=$1 7 | git_repo_id=$2 8 | release_note=$3 9 | git_host=$4 10 | 11 | if [ "$git_host" = "" ]; then 12 | git_host="github.com" 13 | echo "[INFO] No command line input provided. Set \$git_host to $git_host" 14 | fi 15 | 16 | if [ "$git_user_id" = "" ]; then 17 | git_user_id="ory" 18 | echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" 19 | fi 20 | 21 | if [ "$git_repo_id" = "" ]; then 22 | git_repo_id="kratos-client-go" 23 | echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" 24 | fi 25 | 26 | if [ "$release_note" = "" ]; then 27 | release_note="Minor update" 28 | echo "[INFO] No command line input provided. Set \$release_note to $release_note" 29 | fi 30 | 31 | # Initialize the local directory as a Git repository 32 | git init 33 | 34 | # Adds the files in the local repository and stages them for commit. 35 | git add . 36 | 37 | # Commits the tracked changes and prepares them to be pushed to a remote repository. 38 | git commit -m "$release_note" 39 | 40 | # Sets the new remote 41 | git_remote=$(git remote) 42 | if [ "$git_remote" = "" ]; then # git remote not defined 43 | 44 | if [ "$GIT_TOKEN" = "" ]; then 45 | echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." 46 | git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git 47 | else 48 | git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git 49 | fi 50 | 51 | fi 52 | 53 | git pull origin master 54 | 55 | # Pushes (Forces) the changes in the local repository up to the remote repository 56 | echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" 57 | git push origin master 2>&1 | grep -v 'To https' 58 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/ory/kratos-client-go 2 | 3 | go 1.24.0 4 | 5 | require github.com/stretchr/testify v1.10.0 6 | 7 | require ( 8 | github.com/davecgh/go-spew v1.1.1 // indirect 9 | github.com/pmezard/go-difflib v1.0.0 // indirect 10 | gopkg.in/yaml.v3 v3.0.1 // indirect 11 | ) 12 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 2 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 3 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= 4 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 5 | github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= 6 | github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= 7 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= 8 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 9 | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= 10 | gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 11 | -------------------------------------------------------------------------------- /model_courier_message_status.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. 5 | 6 | API version: v1.3.8 7 | Contact: office@ory.sh 8 | */ 9 | 10 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 11 | 12 | package client 13 | 14 | import ( 15 | "encoding/json" 16 | "fmt" 17 | ) 18 | 19 | // CourierMessageStatus A Message's Status 20 | type CourierMessageStatus string 21 | 22 | // List of courierMessageStatus 23 | const ( 24 | COURIERMESSAGESTATUS_QUEUED CourierMessageStatus = "queued" 25 | COURIERMESSAGESTATUS_SENT CourierMessageStatus = "sent" 26 | COURIERMESSAGESTATUS_PROCESSING CourierMessageStatus = "processing" 27 | COURIERMESSAGESTATUS_ABANDONED CourierMessageStatus = "abandoned" 28 | ) 29 | 30 | // All allowed values of CourierMessageStatus enum 31 | var AllowedCourierMessageStatusEnumValues = []CourierMessageStatus{ 32 | "queued", 33 | "sent", 34 | "processing", 35 | "abandoned", 36 | } 37 | 38 | func (v *CourierMessageStatus) UnmarshalJSON(src []byte) error { 39 | var value string 40 | err := json.Unmarshal(src, &value) 41 | if err != nil { 42 | return err 43 | } 44 | enumTypeValue := CourierMessageStatus(value) 45 | for _, existing := range AllowedCourierMessageStatusEnumValues { 46 | if existing == enumTypeValue { 47 | *v = enumTypeValue 48 | return nil 49 | } 50 | } 51 | 52 | return fmt.Errorf("%+v is not a valid CourierMessageStatus", value) 53 | } 54 | 55 | // NewCourierMessageStatusFromValue returns a pointer to a valid CourierMessageStatus 56 | // for the value passed as argument, or an error if the value passed is not allowed by the enum 57 | func NewCourierMessageStatusFromValue(v string) (*CourierMessageStatus, error) { 58 | ev := CourierMessageStatus(v) 59 | if ev.IsValid() { 60 | return &ev, nil 61 | } else { 62 | return nil, fmt.Errorf("invalid value '%v' for CourierMessageStatus: valid values are %v", v, AllowedCourierMessageStatusEnumValues) 63 | } 64 | } 65 | 66 | // IsValid return true if the value is valid for the enum, false otherwise 67 | func (v CourierMessageStatus) IsValid() bool { 68 | for _, existing := range AllowedCourierMessageStatusEnumValues { 69 | if existing == v { 70 | return true 71 | } 72 | } 73 | return false 74 | } 75 | 76 | // Ptr returns reference to courierMessageStatus value 77 | func (v CourierMessageStatus) Ptr() *CourierMessageStatus { 78 | return &v 79 | } 80 | 81 | type NullableCourierMessageStatus struct { 82 | value *CourierMessageStatus 83 | isSet bool 84 | } 85 | 86 | func (v NullableCourierMessageStatus) Get() *CourierMessageStatus { 87 | return v.value 88 | } 89 | 90 | func (v *NullableCourierMessageStatus) Set(val *CourierMessageStatus) { 91 | v.value = val 92 | v.isSet = true 93 | } 94 | 95 | func (v NullableCourierMessageStatus) IsSet() bool { 96 | return v.isSet 97 | } 98 | 99 | func (v *NullableCourierMessageStatus) Unset() { 100 | v.value = nil 101 | v.isSet = false 102 | } 103 | 104 | func NewNullableCourierMessageStatus(val *CourierMessageStatus) *NullableCourierMessageStatus { 105 | return &NullableCourierMessageStatus{value: val, isSet: true} 106 | } 107 | 108 | func (v NullableCourierMessageStatus) MarshalJSON() ([]byte, error) { 109 | return json.Marshal(v.value) 110 | } 111 | 112 | func (v *NullableCourierMessageStatus) UnmarshalJSON(src []byte) error { 113 | v.isSet = true 114 | return json.Unmarshal(src, &v.value) 115 | } 116 | 117 | -------------------------------------------------------------------------------- /model_courier_message_type.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. 5 | 6 | API version: v1.3.8 7 | Contact: office@ory.sh 8 | */ 9 | 10 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 11 | 12 | package client 13 | 14 | import ( 15 | "encoding/json" 16 | "fmt" 17 | ) 18 | 19 | // CourierMessageType It can either be `email` or `phone` 20 | type CourierMessageType string 21 | 22 | // List of courierMessageType 23 | const ( 24 | COURIERMESSAGETYPE_EMAIL CourierMessageType = "email" 25 | COURIERMESSAGETYPE_PHONE CourierMessageType = "phone" 26 | ) 27 | 28 | // All allowed values of CourierMessageType enum 29 | var AllowedCourierMessageTypeEnumValues = []CourierMessageType{ 30 | "email", 31 | "phone", 32 | } 33 | 34 | func (v *CourierMessageType) UnmarshalJSON(src []byte) error { 35 | var value string 36 | err := json.Unmarshal(src, &value) 37 | if err != nil { 38 | return err 39 | } 40 | enumTypeValue := CourierMessageType(value) 41 | for _, existing := range AllowedCourierMessageTypeEnumValues { 42 | if existing == enumTypeValue { 43 | *v = enumTypeValue 44 | return nil 45 | } 46 | } 47 | 48 | return fmt.Errorf("%+v is not a valid CourierMessageType", value) 49 | } 50 | 51 | // NewCourierMessageTypeFromValue returns a pointer to a valid CourierMessageType 52 | // for the value passed as argument, or an error if the value passed is not allowed by the enum 53 | func NewCourierMessageTypeFromValue(v string) (*CourierMessageType, error) { 54 | ev := CourierMessageType(v) 55 | if ev.IsValid() { 56 | return &ev, nil 57 | } else { 58 | return nil, fmt.Errorf("invalid value '%v' for CourierMessageType: valid values are %v", v, AllowedCourierMessageTypeEnumValues) 59 | } 60 | } 61 | 62 | // IsValid return true if the value is valid for the enum, false otherwise 63 | func (v CourierMessageType) IsValid() bool { 64 | for _, existing := range AllowedCourierMessageTypeEnumValues { 65 | if existing == v { 66 | return true 67 | } 68 | } 69 | return false 70 | } 71 | 72 | // Ptr returns reference to courierMessageType value 73 | func (v CourierMessageType) Ptr() *CourierMessageType { 74 | return &v 75 | } 76 | 77 | type NullableCourierMessageType struct { 78 | value *CourierMessageType 79 | isSet bool 80 | } 81 | 82 | func (v NullableCourierMessageType) Get() *CourierMessageType { 83 | return v.value 84 | } 85 | 86 | func (v *NullableCourierMessageType) Set(val *CourierMessageType) { 87 | v.value = val 88 | v.isSet = true 89 | } 90 | 91 | func (v NullableCourierMessageType) IsSet() bool { 92 | return v.isSet 93 | } 94 | 95 | func (v *NullableCourierMessageType) Unset() { 96 | v.value = nil 97 | v.isSet = false 98 | } 99 | 100 | func NewNullableCourierMessageType(val *CourierMessageType) *NullableCourierMessageType { 101 | return &NullableCourierMessageType{value: val, isSet: true} 102 | } 103 | 104 | func (v NullableCourierMessageType) MarshalJSON() ([]byte, error) { 105 | return json.Marshal(v.value) 106 | } 107 | 108 | func (v *NullableCourierMessageType) UnmarshalJSON(src []byte) error { 109 | v.isSet = true 110 | return json.Unmarshal(src, &v.value) 111 | } 112 | 113 | -------------------------------------------------------------------------------- /model_login_flow_state.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. 5 | 6 | API version: v1.3.8 7 | Contact: office@ory.sh 8 | */ 9 | 10 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 11 | 12 | package client 13 | 14 | import ( 15 | "encoding/json" 16 | "fmt" 17 | ) 18 | 19 | // LoginFlowState The experimental state represents the state of a login flow. This field is EXPERIMENTAL and subject to change! 20 | type LoginFlowState string 21 | 22 | // List of loginFlowState 23 | const ( 24 | LOGINFLOWSTATE_CHOOSE_METHOD LoginFlowState = "choose_method" 25 | LOGINFLOWSTATE_SENT_EMAIL LoginFlowState = "sent_email" 26 | LOGINFLOWSTATE_PASSED_CHALLENGE LoginFlowState = "passed_challenge" 27 | ) 28 | 29 | // All allowed values of LoginFlowState enum 30 | var AllowedLoginFlowStateEnumValues = []LoginFlowState{ 31 | "choose_method", 32 | "sent_email", 33 | "passed_challenge", 34 | } 35 | 36 | func (v *LoginFlowState) UnmarshalJSON(src []byte) error { 37 | var value string 38 | err := json.Unmarshal(src, &value) 39 | if err != nil { 40 | return err 41 | } 42 | enumTypeValue := LoginFlowState(value) 43 | for _, existing := range AllowedLoginFlowStateEnumValues { 44 | if existing == enumTypeValue { 45 | *v = enumTypeValue 46 | return nil 47 | } 48 | } 49 | 50 | return fmt.Errorf("%+v is not a valid LoginFlowState", value) 51 | } 52 | 53 | // NewLoginFlowStateFromValue returns a pointer to a valid LoginFlowState 54 | // for the value passed as argument, or an error if the value passed is not allowed by the enum 55 | func NewLoginFlowStateFromValue(v string) (*LoginFlowState, error) { 56 | ev := LoginFlowState(v) 57 | if ev.IsValid() { 58 | return &ev, nil 59 | } else { 60 | return nil, fmt.Errorf("invalid value '%v' for LoginFlowState: valid values are %v", v, AllowedLoginFlowStateEnumValues) 61 | } 62 | } 63 | 64 | // IsValid return true if the value is valid for the enum, false otherwise 65 | func (v LoginFlowState) IsValid() bool { 66 | for _, existing := range AllowedLoginFlowStateEnumValues { 67 | if existing == v { 68 | return true 69 | } 70 | } 71 | return false 72 | } 73 | 74 | // Ptr returns reference to loginFlowState value 75 | func (v LoginFlowState) Ptr() *LoginFlowState { 76 | return &v 77 | } 78 | 79 | type NullableLoginFlowState struct { 80 | value *LoginFlowState 81 | isSet bool 82 | } 83 | 84 | func (v NullableLoginFlowState) Get() *LoginFlowState { 85 | return v.value 86 | } 87 | 88 | func (v *NullableLoginFlowState) Set(val *LoginFlowState) { 89 | v.value = val 90 | v.isSet = true 91 | } 92 | 93 | func (v NullableLoginFlowState) IsSet() bool { 94 | return v.isSet 95 | } 96 | 97 | func (v *NullableLoginFlowState) Unset() { 98 | v.value = nil 99 | v.isSet = false 100 | } 101 | 102 | func NewNullableLoginFlowState(val *LoginFlowState) *NullableLoginFlowState { 103 | return &NullableLoginFlowState{value: val, isSet: true} 104 | } 105 | 106 | func (v NullableLoginFlowState) MarshalJSON() ([]byte, error) { 107 | return json.Marshal(v.value) 108 | } 109 | 110 | func (v *NullableLoginFlowState) UnmarshalJSON(src []byte) error { 111 | v.isSet = true 112 | return json.Unmarshal(src, &v.value) 113 | } 114 | 115 | -------------------------------------------------------------------------------- /model_recovery_flow_state.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. 5 | 6 | API version: v1.3.8 7 | Contact: office@ory.sh 8 | */ 9 | 10 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 11 | 12 | package client 13 | 14 | import ( 15 | "encoding/json" 16 | "fmt" 17 | ) 18 | 19 | // RecoveryFlowState The experimental state represents the state of a recovery flow. This field is EXPERIMENTAL and subject to change! 20 | type RecoveryFlowState string 21 | 22 | // List of recoveryFlowState 23 | const ( 24 | RECOVERYFLOWSTATE_CHOOSE_METHOD RecoveryFlowState = "choose_method" 25 | RECOVERYFLOWSTATE_SENT_EMAIL RecoveryFlowState = "sent_email" 26 | RECOVERYFLOWSTATE_PASSED_CHALLENGE RecoveryFlowState = "passed_challenge" 27 | ) 28 | 29 | // All allowed values of RecoveryFlowState enum 30 | var AllowedRecoveryFlowStateEnumValues = []RecoveryFlowState{ 31 | "choose_method", 32 | "sent_email", 33 | "passed_challenge", 34 | } 35 | 36 | func (v *RecoveryFlowState) UnmarshalJSON(src []byte) error { 37 | var value string 38 | err := json.Unmarshal(src, &value) 39 | if err != nil { 40 | return err 41 | } 42 | enumTypeValue := RecoveryFlowState(value) 43 | for _, existing := range AllowedRecoveryFlowStateEnumValues { 44 | if existing == enumTypeValue { 45 | *v = enumTypeValue 46 | return nil 47 | } 48 | } 49 | 50 | return fmt.Errorf("%+v is not a valid RecoveryFlowState", value) 51 | } 52 | 53 | // NewRecoveryFlowStateFromValue returns a pointer to a valid RecoveryFlowState 54 | // for the value passed as argument, or an error if the value passed is not allowed by the enum 55 | func NewRecoveryFlowStateFromValue(v string) (*RecoveryFlowState, error) { 56 | ev := RecoveryFlowState(v) 57 | if ev.IsValid() { 58 | return &ev, nil 59 | } else { 60 | return nil, fmt.Errorf("invalid value '%v' for RecoveryFlowState: valid values are %v", v, AllowedRecoveryFlowStateEnumValues) 61 | } 62 | } 63 | 64 | // IsValid return true if the value is valid for the enum, false otherwise 65 | func (v RecoveryFlowState) IsValid() bool { 66 | for _, existing := range AllowedRecoveryFlowStateEnumValues { 67 | if existing == v { 68 | return true 69 | } 70 | } 71 | return false 72 | } 73 | 74 | // Ptr returns reference to recoveryFlowState value 75 | func (v RecoveryFlowState) Ptr() *RecoveryFlowState { 76 | return &v 77 | } 78 | 79 | type NullableRecoveryFlowState struct { 80 | value *RecoveryFlowState 81 | isSet bool 82 | } 83 | 84 | func (v NullableRecoveryFlowState) Get() *RecoveryFlowState { 85 | return v.value 86 | } 87 | 88 | func (v *NullableRecoveryFlowState) Set(val *RecoveryFlowState) { 89 | v.value = val 90 | v.isSet = true 91 | } 92 | 93 | func (v NullableRecoveryFlowState) IsSet() bool { 94 | return v.isSet 95 | } 96 | 97 | func (v *NullableRecoveryFlowState) Unset() { 98 | v.value = nil 99 | v.isSet = false 100 | } 101 | 102 | func NewNullableRecoveryFlowState(val *RecoveryFlowState) *NullableRecoveryFlowState { 103 | return &NullableRecoveryFlowState{value: val, isSet: true} 104 | } 105 | 106 | func (v NullableRecoveryFlowState) MarshalJSON() ([]byte, error) { 107 | return json.Marshal(v.value) 108 | } 109 | 110 | func (v *NullableRecoveryFlowState) UnmarshalJSON(src []byte) error { 111 | v.isSet = true 112 | return json.Unmarshal(src, &v.value) 113 | } 114 | 115 | -------------------------------------------------------------------------------- /model_registration_flow_state.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. 5 | 6 | API version: v1.3.8 7 | Contact: office@ory.sh 8 | */ 9 | 10 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 11 | 12 | package client 13 | 14 | import ( 15 | "encoding/json" 16 | "fmt" 17 | ) 18 | 19 | // RegistrationFlowState The experimental state represents the state of a registration flow. This field is EXPERIMENTAL and subject to change! 20 | type RegistrationFlowState string 21 | 22 | // List of registrationFlowState 23 | const ( 24 | REGISTRATIONFLOWSTATE_CHOOSE_METHOD RegistrationFlowState = "choose_method" 25 | REGISTRATIONFLOWSTATE_SENT_EMAIL RegistrationFlowState = "sent_email" 26 | REGISTRATIONFLOWSTATE_PASSED_CHALLENGE RegistrationFlowState = "passed_challenge" 27 | ) 28 | 29 | // All allowed values of RegistrationFlowState enum 30 | var AllowedRegistrationFlowStateEnumValues = []RegistrationFlowState{ 31 | "choose_method", 32 | "sent_email", 33 | "passed_challenge", 34 | } 35 | 36 | func (v *RegistrationFlowState) UnmarshalJSON(src []byte) error { 37 | var value string 38 | err := json.Unmarshal(src, &value) 39 | if err != nil { 40 | return err 41 | } 42 | enumTypeValue := RegistrationFlowState(value) 43 | for _, existing := range AllowedRegistrationFlowStateEnumValues { 44 | if existing == enumTypeValue { 45 | *v = enumTypeValue 46 | return nil 47 | } 48 | } 49 | 50 | return fmt.Errorf("%+v is not a valid RegistrationFlowState", value) 51 | } 52 | 53 | // NewRegistrationFlowStateFromValue returns a pointer to a valid RegistrationFlowState 54 | // for the value passed as argument, or an error if the value passed is not allowed by the enum 55 | func NewRegistrationFlowStateFromValue(v string) (*RegistrationFlowState, error) { 56 | ev := RegistrationFlowState(v) 57 | if ev.IsValid() { 58 | return &ev, nil 59 | } else { 60 | return nil, fmt.Errorf("invalid value '%v' for RegistrationFlowState: valid values are %v", v, AllowedRegistrationFlowStateEnumValues) 61 | } 62 | } 63 | 64 | // IsValid return true if the value is valid for the enum, false otherwise 65 | func (v RegistrationFlowState) IsValid() bool { 66 | for _, existing := range AllowedRegistrationFlowStateEnumValues { 67 | if existing == v { 68 | return true 69 | } 70 | } 71 | return false 72 | } 73 | 74 | // Ptr returns reference to registrationFlowState value 75 | func (v RegistrationFlowState) Ptr() *RegistrationFlowState { 76 | return &v 77 | } 78 | 79 | type NullableRegistrationFlowState struct { 80 | value *RegistrationFlowState 81 | isSet bool 82 | } 83 | 84 | func (v NullableRegistrationFlowState) Get() *RegistrationFlowState { 85 | return v.value 86 | } 87 | 88 | func (v *NullableRegistrationFlowState) Set(val *RegistrationFlowState) { 89 | v.value = val 90 | v.isSet = true 91 | } 92 | 93 | func (v NullableRegistrationFlowState) IsSet() bool { 94 | return v.isSet 95 | } 96 | 97 | func (v *NullableRegistrationFlowState) Unset() { 98 | v.value = nil 99 | v.isSet = false 100 | } 101 | 102 | func NewNullableRegistrationFlowState(val *RegistrationFlowState) *NullableRegistrationFlowState { 103 | return &NullableRegistrationFlowState{value: val, isSet: true} 104 | } 105 | 106 | func (v NullableRegistrationFlowState) MarshalJSON() ([]byte, error) { 107 | return json.Marshal(v.value) 108 | } 109 | 110 | func (v *NullableRegistrationFlowState) UnmarshalJSON(src []byte) error { 111 | v.isSet = true 112 | return json.Unmarshal(src, &v.value) 113 | } 114 | 115 | -------------------------------------------------------------------------------- /model_settings_flow_state.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. 5 | 6 | API version: v1.3.8 7 | Contact: office@ory.sh 8 | */ 9 | 10 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 11 | 12 | package client 13 | 14 | import ( 15 | "encoding/json" 16 | "fmt" 17 | ) 18 | 19 | // SettingsFlowState The experimental state represents the state of a settings flow. This field is EXPERIMENTAL and subject to change! 20 | type SettingsFlowState string 21 | 22 | // List of settingsFlowState 23 | const ( 24 | SETTINGSFLOWSTATE_SHOW_FORM SettingsFlowState = "show_form" 25 | SETTINGSFLOWSTATE_SUCCESS SettingsFlowState = "success" 26 | ) 27 | 28 | // All allowed values of SettingsFlowState enum 29 | var AllowedSettingsFlowStateEnumValues = []SettingsFlowState{ 30 | "show_form", 31 | "success", 32 | } 33 | 34 | func (v *SettingsFlowState) UnmarshalJSON(src []byte) error { 35 | var value string 36 | err := json.Unmarshal(src, &value) 37 | if err != nil { 38 | return err 39 | } 40 | enumTypeValue := SettingsFlowState(value) 41 | for _, existing := range AllowedSettingsFlowStateEnumValues { 42 | if existing == enumTypeValue { 43 | *v = enumTypeValue 44 | return nil 45 | } 46 | } 47 | 48 | return fmt.Errorf("%+v is not a valid SettingsFlowState", value) 49 | } 50 | 51 | // NewSettingsFlowStateFromValue returns a pointer to a valid SettingsFlowState 52 | // for the value passed as argument, or an error if the value passed is not allowed by the enum 53 | func NewSettingsFlowStateFromValue(v string) (*SettingsFlowState, error) { 54 | ev := SettingsFlowState(v) 55 | if ev.IsValid() { 56 | return &ev, nil 57 | } else { 58 | return nil, fmt.Errorf("invalid value '%v' for SettingsFlowState: valid values are %v", v, AllowedSettingsFlowStateEnumValues) 59 | } 60 | } 61 | 62 | // IsValid return true if the value is valid for the enum, false otherwise 63 | func (v SettingsFlowState) IsValid() bool { 64 | for _, existing := range AllowedSettingsFlowStateEnumValues { 65 | if existing == v { 66 | return true 67 | } 68 | } 69 | return false 70 | } 71 | 72 | // Ptr returns reference to settingsFlowState value 73 | func (v SettingsFlowState) Ptr() *SettingsFlowState { 74 | return &v 75 | } 76 | 77 | type NullableSettingsFlowState struct { 78 | value *SettingsFlowState 79 | isSet bool 80 | } 81 | 82 | func (v NullableSettingsFlowState) Get() *SettingsFlowState { 83 | return v.value 84 | } 85 | 86 | func (v *NullableSettingsFlowState) Set(val *SettingsFlowState) { 87 | v.value = val 88 | v.isSet = true 89 | } 90 | 91 | func (v NullableSettingsFlowState) IsSet() bool { 92 | return v.isSet 93 | } 94 | 95 | func (v *NullableSettingsFlowState) Unset() { 96 | v.value = nil 97 | v.isSet = false 98 | } 99 | 100 | func NewNullableSettingsFlowState(val *SettingsFlowState) *NullableSettingsFlowState { 101 | return &NullableSettingsFlowState{value: val, isSet: true} 102 | } 103 | 104 | func (v NullableSettingsFlowState) MarshalJSON() ([]byte, error) { 105 | return json.Marshal(v.value) 106 | } 107 | 108 | func (v *NullableSettingsFlowState) UnmarshalJSON(src []byte) error { 109 | v.isSet = true 110 | return json.Unmarshal(src, &v.value) 111 | } 112 | 113 | -------------------------------------------------------------------------------- /model_verification_flow_state.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. 5 | 6 | API version: v1.3.8 7 | Contact: office@ory.sh 8 | */ 9 | 10 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 11 | 12 | package client 13 | 14 | import ( 15 | "encoding/json" 16 | "fmt" 17 | ) 18 | 19 | // VerificationFlowState The experimental state represents the state of a verification flow. This field is EXPERIMENTAL and subject to change! 20 | type VerificationFlowState string 21 | 22 | // List of verificationFlowState 23 | const ( 24 | VERIFICATIONFLOWSTATE_CHOOSE_METHOD VerificationFlowState = "choose_method" 25 | VERIFICATIONFLOWSTATE_SENT_EMAIL VerificationFlowState = "sent_email" 26 | VERIFICATIONFLOWSTATE_PASSED_CHALLENGE VerificationFlowState = "passed_challenge" 27 | ) 28 | 29 | // All allowed values of VerificationFlowState enum 30 | var AllowedVerificationFlowStateEnumValues = []VerificationFlowState{ 31 | "choose_method", 32 | "sent_email", 33 | "passed_challenge", 34 | } 35 | 36 | func (v *VerificationFlowState) UnmarshalJSON(src []byte) error { 37 | var value string 38 | err := json.Unmarshal(src, &value) 39 | if err != nil { 40 | return err 41 | } 42 | enumTypeValue := VerificationFlowState(value) 43 | for _, existing := range AllowedVerificationFlowStateEnumValues { 44 | if existing == enumTypeValue { 45 | *v = enumTypeValue 46 | return nil 47 | } 48 | } 49 | 50 | return fmt.Errorf("%+v is not a valid VerificationFlowState", value) 51 | } 52 | 53 | // NewVerificationFlowStateFromValue returns a pointer to a valid VerificationFlowState 54 | // for the value passed as argument, or an error if the value passed is not allowed by the enum 55 | func NewVerificationFlowStateFromValue(v string) (*VerificationFlowState, error) { 56 | ev := VerificationFlowState(v) 57 | if ev.IsValid() { 58 | return &ev, nil 59 | } else { 60 | return nil, fmt.Errorf("invalid value '%v' for VerificationFlowState: valid values are %v", v, AllowedVerificationFlowStateEnumValues) 61 | } 62 | } 63 | 64 | // IsValid return true if the value is valid for the enum, false otherwise 65 | func (v VerificationFlowState) IsValid() bool { 66 | for _, existing := range AllowedVerificationFlowStateEnumValues { 67 | if existing == v { 68 | return true 69 | } 70 | } 71 | return false 72 | } 73 | 74 | // Ptr returns reference to verificationFlowState value 75 | func (v VerificationFlowState) Ptr() *VerificationFlowState { 76 | return &v 77 | } 78 | 79 | type NullableVerificationFlowState struct { 80 | value *VerificationFlowState 81 | isSet bool 82 | } 83 | 84 | func (v NullableVerificationFlowState) Get() *VerificationFlowState { 85 | return v.value 86 | } 87 | 88 | func (v *NullableVerificationFlowState) Set(val *VerificationFlowState) { 89 | v.value = val 90 | v.isSet = true 91 | } 92 | 93 | func (v NullableVerificationFlowState) IsSet() bool { 94 | return v.isSet 95 | } 96 | 97 | func (v *NullableVerificationFlowState) Unset() { 98 | v.value = nil 99 | v.isSet = false 100 | } 101 | 102 | func NewNullableVerificationFlowState(val *VerificationFlowState) *NullableVerificationFlowState { 103 | return &NullableVerificationFlowState{value: val, isSet: true} 104 | } 105 | 106 | func (v NullableVerificationFlowState) MarshalJSON() ([]byte, error) { 107 | return json.Marshal(v.value) 108 | } 109 | 110 | func (v *NullableVerificationFlowState) UnmarshalJSON(src []byte) error { 111 | v.isSet = true 112 | return json.Unmarshal(src, &v.value) 113 | } 114 | 115 | -------------------------------------------------------------------------------- /response.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. 5 | 6 | API version: v1.3.8 7 | Contact: office@ory.sh 8 | */ 9 | 10 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 11 | 12 | package client 13 | 14 | import ( 15 | "net/http" 16 | ) 17 | 18 | // APIResponse stores the API response returned by the server. 19 | type APIResponse struct { 20 | *http.Response `json:"-"` 21 | Message string `json:"message,omitempty"` 22 | // Operation is the name of the OpenAPI operation. 23 | Operation string `json:"operation,omitempty"` 24 | // RequestURL is the request URL. This value is always available, even if the 25 | // embedded *http.Response is nil. 26 | RequestURL string `json:"url,omitempty"` 27 | // Method is the HTTP method used for the request. This value is always 28 | // available, even if the embedded *http.Response is nil. 29 | Method string `json:"method,omitempty"` 30 | // Payload holds the contents of the response body (which may be nil or empty). 31 | // This is provided here as the raw response.Body() reader will have already 32 | // been drained. 33 | Payload []byte `json:"-"` 34 | } 35 | 36 | // NewAPIResponse returns a new APIResponse object. 37 | func NewAPIResponse(r *http.Response) *APIResponse { 38 | 39 | response := &APIResponse{Response: r} 40 | return response 41 | } 42 | 43 | // NewAPIResponseWithError returns a new APIResponse object with the provided error message. 44 | func NewAPIResponseWithError(errorMessage string) *APIResponse { 45 | 46 | response := &APIResponse{Message: errorMessage} 47 | return response 48 | } 49 | -------------------------------------------------------------------------------- /test/api_courier_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | Testing CourierAPIService 5 | 6 | */ 7 | 8 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); 9 | 10 | package client 11 | 12 | import ( 13 | "context" 14 | "github.com/stretchr/testify/assert" 15 | "github.com/stretchr/testify/require" 16 | "testing" 17 | openapiclient "github.com/ory/kratos-client-go" 18 | ) 19 | 20 | func Test_client_CourierAPIService(t *testing.T) { 21 | 22 | configuration := openapiclient.NewConfiguration() 23 | apiClient := openapiclient.NewAPIClient(configuration) 24 | 25 | t.Run("Test CourierAPIService GetCourierMessage", func(t *testing.T) { 26 | 27 | t.Skip("skip test") // remove to run test 28 | 29 | var id string 30 | 31 | resp, httpRes, err := apiClient.CourierAPI.GetCourierMessage(context.Background(), id).Execute() 32 | 33 | require.Nil(t, err) 34 | require.NotNil(t, resp) 35 | assert.Equal(t, 200, httpRes.StatusCode) 36 | 37 | }) 38 | 39 | t.Run("Test CourierAPIService ListCourierMessages", func(t *testing.T) { 40 | 41 | t.Skip("skip test") // remove to run test 42 | 43 | resp, httpRes, err := apiClient.CourierAPI.ListCourierMessages(context.Background()).Execute() 44 | 45 | require.Nil(t, err) 46 | require.NotNil(t, resp) 47 | assert.Equal(t, 200, httpRes.StatusCode) 48 | 49 | }) 50 | 51 | } 52 | -------------------------------------------------------------------------------- /test/api_metadata_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Ory Identities API 3 | 4 | Testing MetadataAPIService 5 | 6 | */ 7 | 8 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); 9 | 10 | package client 11 | 12 | import ( 13 | "context" 14 | "github.com/stretchr/testify/assert" 15 | "github.com/stretchr/testify/require" 16 | "testing" 17 | openapiclient "github.com/ory/kratos-client-go" 18 | ) 19 | 20 | func Test_client_MetadataAPIService(t *testing.T) { 21 | 22 | configuration := openapiclient.NewConfiguration() 23 | apiClient := openapiclient.NewAPIClient(configuration) 24 | 25 | t.Run("Test MetadataAPIService GetVersion", func(t *testing.T) { 26 | 27 | t.Skip("skip test") // remove to run test 28 | 29 | resp, httpRes, err := apiClient.MetadataAPI.GetVersion(context.Background()).Execute() 30 | 31 | require.Nil(t, err) 32 | require.NotNil(t, resp) 33 | assert.Equal(t, 200, httpRes.StatusCode) 34 | 35 | }) 36 | 37 | t.Run("Test MetadataAPIService IsAlive", func(t *testing.T) { 38 | 39 | t.Skip("skip test") // remove to run test 40 | 41 | resp, httpRes, err := apiClient.MetadataAPI.IsAlive(context.Background()).Execute() 42 | 43 | require.Nil(t, err) 44 | require.NotNil(t, resp) 45 | assert.Equal(t, 200, httpRes.StatusCode) 46 | 47 | }) 48 | 49 | t.Run("Test MetadataAPIService IsReady", func(t *testing.T) { 50 | 51 | t.Skip("skip test") // remove to run test 52 | 53 | resp, httpRes, err := apiClient.MetadataAPI.IsReady(context.Background()).Execute() 54 | 55 | require.Nil(t, err) 56 | require.NotNil(t, resp) 57 | assert.Equal(t, 200, httpRes.StatusCode) 58 | 59 | }) 60 | 61 | } 62 | --------------------------------------------------------------------------------