IdentityResourceCollection.AddOpenId 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AddOpenId() |
新增 openid 資源。 |
AddOpenId(Action<IdentityResourceBuilder>) |
新增 openid 資源。 |
AddOpenId()
新增 openid 資源。
public:
void AddOpenId();
public void AddOpenId ();
member this.AddOpenId : unit -> unit
Public Sub AddOpenId ()
適用於
AddOpenId(Action<IdentityResourceBuilder>)
新增 openid 資源。
public:
void AddOpenId(Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::IdentityResourceBuilder ^> ^ configure);
public void AddOpenId (Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.IdentityResourceBuilder> configure);
member this.AddOpenId : Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.IdentityResourceBuilder> -> unit
Public Sub AddOpenId (configure As Action(Of IdentityResourceBuilder))
參數
- configure
- Action<IdentityResourceBuilder>
要 Action<T> 設定 openid 範圍的 。