Data passed to the Ditto.DittoIdentityProviderAuthenticationRequest event handler when a peer wishes to use the current device as an authentication server.
More...
|
void | Allow (DittoAuthenticationSuccess success) |
| Issue an authentication token for the remote peer with the device details and permissions specified. More...
|
|
void | Deny () |
| Indicate that the authentication request was not acceptable and a token should not be issued. More...
|
|
|
string | AppId [get, set] |
| Gets the application ID for which the peer is requesting to authenticate. More...
|
|
ulong | SiteId [get, set] |
| Gets the Site ID that the remote peer is intending to use. More...
|
|
string | ThirdPartyToken [get, set] |
| Gets the arbitrary token that the peer is using to authenticate, if they are using token-based authentication. More...
|
|
string | UserName [get, set] |
| Gets the username that the peer is using to authenticate, if they are using username/password authentication. More...
|
|
string | Password [get, set] |
| Gets the password that the peer is using to authenticate, if they are using username/password authentication. More...
|
|
Data passed to the Ditto.DittoIdentityProviderAuthenticationRequest event handler when a peer wishes to use the current device as an authentication server.
At least one subscriber should call Allow()
or Deny()
after evaluating the request, or else the login attempt will eventually time out.
◆ Allow()
Issue an authentication token for the remote peer with the device details and permissions specified.
- Parameters
-
success | Metadata and permissions for the new user |
◆ Deny()
void DittoSDK.DittoAuthenticationRequestEventArgs.Deny |
( |
| ) |
|
|
inline |
Indicate that the authentication request was not acceptable and a token should not be issued.
◆ AppId
string DittoSDK.DittoAuthenticationRequestEventArgs.AppId |
|
getset |
Gets the application ID for which the peer is requesting to authenticate.
◆ Password
string DittoSDK.DittoAuthenticationRequestEventArgs.Password |
|
getset |
Gets the password that the peer is using to authenticate, if they are using username/password authentication.
◆ SiteId
ulong DittoSDK.DittoAuthenticationRequestEventArgs.SiteId |
|
getset |
Gets the Site ID that the remote peer is intending to use.
◆ ThirdPartyToken
string DittoSDK.DittoAuthenticationRequestEventArgs.ThirdPartyToken |
|
getset |
Gets the arbitrary token that the peer is using to authenticate, if they are using token-based authentication.
◆ UserName
string DittoSDK.DittoAuthenticationRequestEventArgs.UserName |
|
getset |
Gets the username that the peer is using to authenticate, if they are using username/password authentication.