Microsoft

data class Microsoft(val tenant: String = "common") : OAuthProvider

Standard Microsoft (Entra ID) OAuth2 provider.

Constructors

Link copied to clipboard
constructor(tenant: String = "common")

Properties

Link copied to clipboard
open override val authEndpoint: String
Link copied to clipboard
Link copied to clipboard
open override val emailPath: List<String>

The path to the user's email in the user info JSON.

Link copied to clipboard
open override val idPath: List<String>

The path to the user's unique ID in the user info JSON.

Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
open override val tokenEndpoint: String
Link copied to clipboard
open override val userInfoEndpoint: String
Link copied to clipboard
open override val usernamePath: List<String>

The path to the user's username in the user info JSON.

Functions

Link copied to clipboard

Parses the user info JSON from the provider and returns a triple of (providerUserId, username, email).