Class Authentication
Inheritance
Authentication
Assembly: Lacuna.RestPki.Client.dll
Syntax
public class Authentication
Constructors
Authentication(RestPkiClient)
Declaration
public Authentication(RestPkiClient client)
Parameters
Methods
Complete(Byte[], Byte[], Byte[], AuthenticationOptions)
Declaration
public ValidationResults Complete(byte[] nonce, byte[] certificateContent, byte[] signature, AuthenticationOptions options)
Parameters
Returns
Complete(Byte[], Byte[], Byte[], Guid)
Declaration
public ValidationResults Complete(byte[] nonce, byte[] certificateContent, byte[] signature, Guid securityContextId)
Parameters
Type |
Name |
Description |
Byte[] |
nonce |
|
Byte[] |
certificateContent |
|
Byte[] |
signature |
|
Guid |
securityContextId |
|
Returns
CompleteAsync(Byte[], Byte[], Byte[], AuthenticationOptions)
Declaration
public Task<ValidationResults> CompleteAsync(byte[] nonce, byte[] certificateContent, byte[] signature, AuthenticationOptions options)
Parameters
Returns
CompleteAsync(Byte[], Byte[], Byte[], Guid)
Declaration
public Task<ValidationResults> CompleteAsync(byte[] nonce, byte[] certificateContent, byte[] signature, Guid securityContextId)
Parameters
Type |
Name |
Description |
Byte[] |
nonce |
|
Byte[] |
certificateContent |
|
Byte[] |
signature |
|
Guid |
securityContextId |
|
Returns
CompleteWithWebPki(String)
Declaration
public ValidationResults CompleteWithWebPki(string token)
Parameters
Type |
Name |
Description |
String |
token |
|
Returns
CompleteWithWebPkiAsync(String)
Declaration
public Task<ValidationResults> CompleteWithWebPkiAsync(string token)
Parameters
Type |
Name |
Description |
String |
token |
|
Returns
GetCertificate()
Declaration
public PKCertificate GetCertificate()
Returns
Start()
Declaration
Returns
StartAsync()
Declaration
public Task<byte[]> StartAsync()
Returns
StartWithWebPki(AuthenticationOptions)
Declaration
public string StartWithWebPki(AuthenticationOptions options)
Parameters
Returns
StartWithWebPki(Guid)
Declaration
public string StartWithWebPki(Guid securityContextId)
Parameters
Type |
Name |
Description |
Guid |
securityContextId |
|
Returns
StartWithWebPkiAsync(AuthenticationOptions)
Declaration
public Task<string> StartWithWebPkiAsync(AuthenticationOptions options)
Parameters
Returns
StartWithWebPkiAsync(Guid)
Declaration
public Task<string> StartWithWebPkiAsync(Guid securityContextId)
Parameters
Type |
Name |
Description |
Guid |
securityContextId |
|
Returns