Microsoft Azure Mixed Reality Sts Client

Microsoft Azure MixedRealityStsClient is a client library that enables developers to authenticate users and acquire access tokens for Azure services, such as Azure Mixed Reality. By integrating this client library into their applications, developers can easily manage user authentication and authorization, allowing users to securely access resources and data within their Mixed Reality applications.

OpenAPI Specification

mixedrealitystsclient-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  title: Microsoft Azure MixedRealityStsClient
  description: Definition for the Mixed Reality Cloud STS service APIs.
  version: 2019-02-28-preview
host: sts.mixedreality.azure.com
schemes:
  - https
paths:
  /Accounts/{accountId}/token:
    get:
      tags:
        - Accounts
      summary: 'Microsoft Azure Gets An Access Token To Be Used With Mixed Reality Services'
      operationId: microsoftAzureGettoken
      produces:
        - application/json
      x-ms-examples:
        TokenGet:
          $ref: ./examples/GetToken.json
      parameters:
        - in: path
          name: accountId
          description: The Mixed Reality account identifier.
          required: true
          type: string
          format: uuid
        - name: X-MRC-CV
          x-ms-client-name: clientRequestId
          in: header
          description: >-
            The client request correlation vector, which should be set to a new
            value for each request. Useful when debugging with Microsoft.
          type: string
          x-ms-parameter-grouping:
            name: token-request-options
        - in: query
          name: api-version
          description: The API version.
          type: string
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/StsTokenResponseMessage'
          headers:
            MS-CV:
              x-ms-client-name: requestId
              description: >-
                The service response correlation vector, which will be a new
                value for every response. Useful when debugging with Microsoft.
              type: string
        '400':
          description: Bad request
          headers:
            MS-CV:
              x-ms-client-name: requestId
              description: >-
                The service response correlation vector, which will be a new
                value for every response. Useful when debugging with Microsoft.
              type: string
            WWW-Authenticate:
              description: >-
                Describes the error encountered while trying to authenticate the
                resource.
              type: string
          x-ms-error-response: true
        '401':
          description: Unauthorized
          headers:
            MS-CV:
              x-ms-client-name: requestId
              description: >-
                The service response correlation vector, which will be a new
                value for every response. Useful when debugging with Microsoft.
              type: string
            WWW-Authenticate:
              description: >-
                Describes the error encountered while trying to authenticate the
                resource.
              type: string
          x-ms-error-response: true
        '429':
          description: Too many requests
          headers:
            MS-CV:
              x-ms-client-name: requestId
              description: >-
                The service response correlation vector, which will be a new
                value for every response. Useful when debugging with Microsoft.
              type: string
            WWW-Authenticate:
              description: >-
                Describes the error encountered while trying to authenticate the
                resource.
              type: string
          x-ms-error-response: true
        default:
          description: Error
          headers:
            MS-CV:
              x-ms-client-name: requestId
              description: >-
                The service response correlation vector, which will be a new
                value for every response. Useful when debugging with Microsoft.
              type: string
          x-ms-error-response: true
      description: Needs a more full description created.
definitions:
  StsTokenResponseMessage:
    description: Represents a token response message from the STS service.
    required:
      - AccessToken
    type: object
    properties:
      AccessToken:
        description: An access token for the account.
        type: string
tags:
  - name: Accounts