SamlSecurityTokenHandler.ReadToken(XmlReader) 方法
定义
从指定流中读取 SAML 1.1 标记。Reads a SAML 1.1 token from the specified stream.
public:
override System::IdentityModel::Tokens::SecurityToken ^ ReadToken(System::Xml::XmlReader ^ reader);
public override System.IdentityModel.Tokens.SecurityToken ReadToken (System.Xml.XmlReader reader);
override this.ReadToken : System.Xml.XmlReader -> System.IdentityModel.Tokens.SecurityToken
Public Overrides Function ReadToken (reader As XmlReader) As SecurityToken
参数
返回
SamlSecurityToken 的一个实例。An instance of SamlSecurityToken.
例外
Configuration 属性为 null。The Configuration property is null.
- 或 --or-
由 IssuerTokenResolver 属性指定的配置的 Configuration 属性是 null。The IssuerTokenResolver property of the configuration specified by the Configuration property is null.
- 或 --or-
由 ServiceTokenResolver 属性指定的配置的 Configuration 属性是 null。The ServiceTokenResolver property of the configuration specified by the Configuration property is null.