Google 社群登入的配置。
Name | Type | Default | Description |
---|---|---|---|
id | string | 唯一的配置 ID。 | |
clientId | string | 應用程式或用戶端 ID。 | |
clientSecret | 可逆的編碼密碼(字串) | 應用程式或用戶端的密碼。 | |
authorizationEndpoint | string | https://accounts.google.com/o/oauth2/v2/auth | 指定授權端點 URL。 |
tokenEndpoint | string | https://www.googleapis.com/oauth2/v4/token | 指定記號端點 URL。 |
jwksUri | string | https://www.googleapis.com/oauth2/v3/certs | 指定「JSON Web 金鑰」服務 URL。 |
scope | string | openid profile email | 指定必要範圍。 |
userNameAttribute | string | 聲明的值是已鑑別使用者的主體身分。 | |
mapToUserRegistry | boolean | false | 指定是否將 userIdentifier 對映至登錄使用者。 |
sslRef | 最上層 ssl 元素的參照(字串)。 | 指定用來連接至社群媒體之 SSL 配置的 ID。 | |
authFilterRef | 最上層 authFilter 元素的參照(字串)。 | 指定鑑別過濾器參照。 | |
isClientSideRedirectSupported | boolean | true | 指定是否支援用戶端重新導向。用戶端的範例包括瀏覽器或獨立式 JavaScript 應用程式。如果設為 true,用戶端必須支援 JavaScript。 |
displayName | string | 顯示用的社群登入配置名稱。 | |
website | tokenType | https://accounts.google.com | 網站位址。 |
redirectToRPHostAndPort | string | 指定回呼主機和埠號。 | |
issuer | string | https://accounts.google.com | 發證者的 URL。 |
realmNameAttribute | string | iss | 以聲明的值作為主體領域。 |
groupNameAttribute | string | 以聲明的值作為使用者群組成員資格。 | |
userUniqueIdAttribute | string | 以聲明的值作為主體唯一 ID。 | |
clockSkew | int | 300000 | 金鑰從簽發到可供使用的時間差上限(毫秒)。 |
signatureAlgorithm | string | RS256 | 用來簽署記號或金鑰的演算法。 |
指定鑑別過濾器參照。
唯一的配置 ID。
Name | Type | Default | Description |
---|---|---|---|
id | string | 唯一的配置 ID。 | |
name | string | 指定名稱。 | |
matchType |
| contains | 指定相符類型。 contains 包含 notContain 不包含 equals 等於 |
唯一的配置 ID。
Name | Type | Default | Description |
---|---|---|---|
id | string | 唯一的配置 ID。 | |
urlPattern | string | 指定 URL 型樣。 | |
matchType |
| contains | 指定相符類型。 contains 包含 notContain 不包含 equals 等於 |
唯一的配置 ID。
Name | Type | Default | Description |
---|---|---|---|
id | string | 唯一的配置 ID。 | |
matchType |
| contains | 指定相符類型。 contains 包含 notContain 不包含 equals 等於 lessThan 小於 greaterThan 大於 |
ip | string | 指定 IP 位址。 |
唯一的配置 ID。
Name | Type | Default | Description |
---|---|---|---|
id | string | 唯一的配置 ID。 | |
name | string | 指定名稱。 | |
matchType |
| contains | 指定相符類型。 contains 包含 notContain 不包含 equals 等於 |
唯一的配置 ID。
Name | Type | Default | Description |
---|---|---|---|
id | string | 唯一的配置 ID。 | |
agent | string | 指定使用者代理程式 | |
matchType |
| contains | 指定相符類型。 contains 包含 notContain 不包含 equals 等於 |
指定用來建置 JWT 記號的資訊。此資訊包含 JWT 建置器參照和來自 ID 記號的聲明。
Name | Type | Default | Description |
---|---|---|---|
builder | tokenType | 參照的 JWT 建置器會建立 JWT 記號,記號會新增到已鑑別的主體。 |
指定要從使用者資訊或 ID 記號複製的聲明清單(以逗點區隔)。