IdentityResourceCollection 类

定义

Duende.IdentityServer.Models.IdentityResource 的集合。

public ref class IdentityResourceCollection : System::Collections::ObjectModel::Collection<IdentityServer4::Models::IdentityResource ^>
public class IdentityResourceCollection : System.Collections.ObjectModel.Collection<IdentityServer4.Models.IdentityResource>
public class IdentityResourceCollection : System.Collections.ObjectModel.Collection<Duende.IdentityServer.Models.IdentityResource>
type IdentityResourceCollection = class
    inherit Collection<IdentityResource>
Public Class IdentityResourceCollection
Inherits Collection(Of IdentityResource)
继承
Collection<IdentityServer4.Models.IdentityResource>
IdentityResourceCollection
继承
Collection<Duende.IdentityServer.Models.IdentityResource>
IdentityResourceCollection

构造函数

IdentityResourceCollection()

初始化 IdentityResourceCollection 的新实例。

IdentityResourceCollection(IList<IdentityResource>)

使用 中的list给定标识资源初始化 的新实例IdentityResourceCollection

IdentityResourceCollection(IList<IdentityResource>)

使用 中的list给定标识资源初始化 的新实例IdentityResourceCollection

属性

Item[String]

获取给定名称的标识资源。

方法

AddAddress()

添加地址资源。

AddAddress(Action<IdentityResourceBuilder>)

添加地址资源。

AddEmail()

添加电子邮件资源。

AddEmail(Action<IdentityResourceBuilder>)

添加电子邮件资源。

AddOpenId()

添加 openid 资源。

AddOpenId(Action<IdentityResourceBuilder>)

添加 openid 资源。

AddPhone()

添加电话资源。

AddPhone(Action<IdentityResourceBuilder>)

添加电话资源。

AddProfile()

添加配置文件资源。

AddProfile(Action<IdentityResourceBuilder>)

添加配置文件资源。

AddRange(IdentityResource[])

将 中的标识资源 identityResources 添加到集合中。

AddRange(IdentityResource[])

将 中的标识资源 identityResources 添加到集合中。

适用于