OpenID连接

data class OpenIdConnect(val authorizationEndpoint: String, val tokenEndpoint: String, val userinfoEndpoint: String? = null, val revocationEndpoint: String? = null, val tokenEndpointAuthMethodsSupported: List<String>? = null, val grantTypesSupported: List<String>? = null, val scopes: List<String>? = null, val description: String? = null) : AuthScheme

An OpenID Connect scheme with the provider's endpoints given directly.

构造函数(Constructors)

Link copied to clipboard
constructor(authorizationEndpoint: String, tokenEndpoint: String, userinfoEndpoint: String? = null, revocationEndpoint: String? = null, tokenEndpointAuthMethodsSupported: List<String>? = null, grantTypesSupported: List<String>? = null, scopes: List<String>? = null, description: String? = null)

类型

Link copied to clipboard
class Builder

Fluent Builder for OpenIdConnect该功能主要为 Java 语言的调用者提供支持;如果某个属性未被设置,其值将默认使用构造函数中指定的默认值。

Link copied to clipboard
object Companion

属性(Properties)

Link copied to clipboard

授权端点(Authorization Endpoint)。

Link copied to clipboard

该方案的描述。

Link copied to clipboard

提供商支持的 OAuth2 授权类型(例如:) authorization_code.

Link copied to clipboard

令牌撤销(revocation)的终端点(endpoint)。

Link copied to clipboard

需要请求的权限范围(scopes)。

Link copied to clipboard

令牌(token)的端点(endpoint)。

Link copied to clipboard

客户端可以用来向令牌端点进行身份验证的方法(例如: client_secret_basic.

Link copied to clipboard
open override val type: String

该方案的 OpenAPI type例如: apiKey 或者 http.

Link copied to clipboard

UserInfo 端点。

函数

Link copied to clipboard

返回一个 Builder 使用该实例的属性进行初始化,主要适用于 Java 调用者。建议优先选择这种方式。 copy 来自 Java 的代码: copy 该函数会按位置获取所有属性的值;因此,每当有新属性被添加时,其函数签名(即函数的定义)就会发生变化。