Denvr AI Services Docs
  • Welcome to Denvr AI Services Docs!
  • OVERVIEW
    • Getting started
      • Launch a virtual machine
      • Secure Shell (SSH): Best Practices
      • API Usage samples
      • Registration
    • Data centers
    • Shared responsibility model
    • Technical support
    • What's new!
  • PLATFORM
    • Dashboard
    • Applications
    • Virtual machines
    • Bare metal
    • Storage
    • Networking
    • User management
    • Billing
  • API Reference
    • Authentication
    • Clusters
    • Applications
    • Virtual machines
    • VPCs
    • Bare metal
  • Additional Information
    • FAQs
      • Desktop vs data center GPUs
      • Differences of bare metal and virtual machines
      • GPU monitoring
      • Using Github with SSH keys
      • Data persistence and recovery
      • Do you support Kubernetes?
      • Installing GPU drivers
      • What is the network bandwidth?
      • What ports are publicly accessible?
      • What is persistent local storage?
      • Adding DAS to /etc/fstab
      • Provisioning States
    • Policies
      • Terms of Service
      • Privacy Policy
      • Acceptable Use Policy
      • Maintenance policy
Powered by GitBook
On this page
  1. API Reference

Authentication

Here, you will find information on endpoints related to token-based authentication, ensuring secure and protected access to our cloud software API.

PreviousBillingNextClusters

Last updated 1 year ago

Securely log out a user and invalidate the associated access token, effectively terminating the current session

get
Responses
200
Success
get
GET /api/TokenAuth/LogOut HTTP/1.1
Host: 
Accept: */*
200

Success

No content

  • POSTAuthenticates the user's credentials and, upon successful verification, issues an access token that can be used to authorize subsequent requests made to the API
  • POSTThis endpoint allows for the renewal of the current access token, extending its validity period
  • GETSecurely log out a user and invalidate the associated access token, effectively terminating the current session

This endpoint allows for the renewal of the current access token, extending its validity period

post
Query parameters
refreshTokenstringOptional
Responses
200
Success
post
POST /api/TokenAuth/RefreshToken HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "accessToken": "text",
  "encryptedAccessToken": "text",
  "expireInSeconds": 1
}

Authenticates the user's credentials and, upon successful verification, issues an access token that can be used to authorize subsequent requests made to the API

post
Body
userNameOrEmailAddressstring · min: 1 · max: 256Required
passwordstring · min: 1 · max: 32Required
twoFactorVerificationCodestring | nullableOptional
rememberClientbooleanOptional
twoFactorRememberClientTokenstring | nullableOptional
singleSignInboolean | nullableOptional
returnUrlstring | nullableOptional
captchaResponsestring | nullableOptional
Responses
200
Success
post
POST /api/TokenAuth/Authenticate HTTP/1.1
Host: 
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 210

{
  "userNameOrEmailAddress": "text",
  "password": "text",
  "twoFactorVerificationCode": "text",
  "rememberClient": true,
  "twoFactorRememberClientToken": "text",
  "singleSignIn": true,
  "returnUrl": "text",
  "captchaResponse": "text"
}
200

Success

{
  "accessToken": "text",
  "encryptedAccessToken": "text",
  "expireInSeconds": 1,
  "shouldResetPassword": true,
  "passwordResetCode": "text",
  "userId": 1,
  "requiresTwoFactorVerification": true,
  "twoFactorAuthProviders": [
    "text"
  ],
  "twoFactorRememberClientToken": "text",
  "returnUrl": "text",
  "refreshToken": "text",
  "refreshTokenExpireInSeconds": 1,
  "c": "text"
}