Extensión for principal an identity.
Returns the display name (given name) of the authenticated identity or the identity name;
public String DisplayName(identity)| Name | Type | Summary |
|---|---|---|
| identity | IIdentity |
Returns the display name (given name) of the authenticated princial or the identity name;
public String DisplayName(principal)| Name | Type | Summary |
|---|---|---|
| principal | IPrincipal |
Returns the email of the authenticated identity or null if it has no email.
public String Email(identity)| Name | Type | Summary |
|---|---|---|
| identity | IIdentity |
Returns the email of the authenticated principal or null if it has no email.
public String Email(principal)| Name | Type | Summary |
|---|---|---|
| principal | IPrincipal |
Returns if the email of the authenticated identity has been verified.
public Boolean EmailVerified(identity)| Name | Type | Summary |
|---|---|---|
| identity | IIdentity |
Returns if the email of the authenticated principal has been verified.
public Boolean EmailVerified(principal)| Name | Type | Summary |
|---|---|---|
| principal | IPrincipal |
Returns the phone number of the authenticated identity or null if it has no phone number.
public String PhoneNumber(identity)| Name | Type | Summary |
|---|---|---|
| identity | IIdentity |
Returns the phone number of the authenticated principal or null if it has no phone number.
public String PhoneNumber(principal)| Name | Type | Summary |
|---|---|---|
| principal | IPrincipal |
Returns if the phone number of the authenticated identity has been verified.
public Boolean PhoneNumberVerified(identity)| Name | Type | Summary |
|---|---|---|
| identity | IIdentity |
Returns if the phone number of the authenticated principal has been verified.
public Boolean PhoneNumberVerified(principal)| Name | Type | Summary |
|---|---|---|
| principal | IPrincipal |
Returns the Subject Id of the authenticated identity.
public String SubjectId(identity)| Name | Type | Summary |
|---|---|---|
| identity | IIdentity |
Returns the Subject Id of the authenticated principal.
public String SubjectId(principal)| Name | Type | Summary |
|---|---|---|
| principal | IPrincipal |