Show / Hide Table of Contents

Class Authentication

Inheritance
Object
Authentication
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.RestPki.Client
Assembly: Lacuna.RestPki.Client.dll
Syntax
public class Authentication

Constructors

Authentication(RestPkiClient)

Declaration
public Authentication(RestPkiClient client)
Parameters
Type Name Description
RestPkiClient client

Methods

Complete(Byte[], Byte[], Byte[], AuthenticationOptions)

Declaration
public ValidationResults Complete(byte[] nonce, byte[] certificateContent, byte[] signature, AuthenticationOptions options)
Parameters
Type Name Description
Byte[] nonce
Byte[] certificateContent
Byte[] signature
AuthenticationOptions options
Returns
Type Description
ValidationResults

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
Type Description
ValidationResults

CompleteAsync(Byte[], Byte[], Byte[], AuthenticationOptions)

Declaration
public Task<ValidationResults> CompleteAsync(byte[] nonce, byte[] certificateContent, byte[] signature, AuthenticationOptions options)
Parameters
Type Name Description
Byte[] nonce
Byte[] certificateContent
Byte[] signature
AuthenticationOptions options
Returns
Type Description
Task<ValidationResults>

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
Type Description
Task<ValidationResults>

CompleteWithWebPki(String)

Declaration
public ValidationResults CompleteWithWebPki(string token)
Parameters
Type Name Description
String token
Returns
Type Description
ValidationResults

CompleteWithWebPkiAsync(String)

Declaration
public Task<ValidationResults> CompleteWithWebPkiAsync(string token)
Parameters
Type Name Description
String token
Returns
Type Description
Task<ValidationResults>

GetCertificate()

Declaration
public PKCertificate GetCertificate()
Returns
Type Description
PKCertificate

Start()

Declaration
public byte[] Start()
Returns
Type Description
Byte[]

StartAsync()

Declaration
public Task<byte[]> StartAsync()
Returns
Type Description
Task<Byte[]>

StartWithWebPki(AuthenticationOptions)

Declaration
public string StartWithWebPki(AuthenticationOptions options)
Parameters
Type Name Description
AuthenticationOptions options
Returns
Type Description
String

StartWithWebPki(Guid)

Declaration
public string StartWithWebPki(Guid securityContextId)
Parameters
Type Name Description
Guid securityContextId
Returns
Type Description
String

StartWithWebPkiAsync(AuthenticationOptions)

Declaration
public Task<string> StartWithWebPkiAsync(AuthenticationOptions options)
Parameters
Type Name Description
AuthenticationOptions options
Returns
Type Description
Task<String>

StartWithWebPkiAsync(Guid)

Declaration
public Task<string> StartWithWebPkiAsync(Guid securityContextId)
Parameters
Type Name Description
Guid securityContextId
Returns
Type Description
Task<String>
Back to top Copyright © 2015-2020 Lacuna Software