Class RoleForDomainOptions
- Namespace
- Tharga.Toolkit
- Assembly
- Tharga.Toolkit.Standard.dll
public class RoleForDomainOptions
- Inheritance
-
RoleForDomainOptions
- Inherited Members
- Extension Methods
Properties
TrustPreferredUsername
When true, the preferred_username claim is used as the email if no email claim is present.
Enable this only for identity providers where preferred_username is an address the provider controls,
for example a sign-in name issued by the directory. Default is false.
public bool TrustPreferredUsername { get; set; }