Pular para o conteúdo principal

Authentication

Namespace: Lacuna.RestPki.Client
Assembly: Lacuna.RestPki.Client
Class

public class Authentication

Hierarquia: objectAuthentication

Construtores

Authentication(RestPkiClient)

public Authentication(RestPkiClient client)

Parâmetros

NomeTipoDescrição
clientRestPkiClient

Métodos

Complete(byte[], byte[], byte[], AuthenticationOptions)

public ValidationResults Complete(byte[] nonce, byte[] certificateContent, byte[] signature, AuthenticationOptions options)

Parâmetros

NomeTipoDescrição
noncebyte[]
certificateContentbyte[]
signaturebyte[]
optionsAuthenticationOptions

Retorno

ValidationResults


Complete(byte[], byte[], byte[], Guid)

public ValidationResults Complete(byte[] nonce, byte[] certificateContent, byte[] signature, Guid securityContextId)

Parâmetros

NomeTipoDescrição
noncebyte[]
certificateContentbyte[]
signaturebyte[]
securityContextIdGuid

Retorno

ValidationResults


CompleteAsync(byte[], byte[], byte[], AuthenticationOptions)

public Task<ValidationResults> CompleteAsync(byte[] nonce, byte[] certificateContent, byte[] signature, AuthenticationOptions options)

Parâmetros

NomeTipoDescrição
noncebyte[]
certificateContentbyte[]
signaturebyte[]
optionsAuthenticationOptions

Retorno

Task<ValidationResults>


CompleteAsync(byte[], byte[], byte[], Guid)

public Task<ValidationResults> CompleteAsync(byte[] nonce, byte[] certificateContent, byte[] signature, Guid securityContextId)

Parâmetros

NomeTipoDescrição
noncebyte[]
certificateContentbyte[]
signaturebyte[]
securityContextIdGuid

Retorno

Task<ValidationResults>


CompleteWithWebPki(string)

public ValidationResults CompleteWithWebPki(string token)

Parâmetros

NomeTipoDescrição
tokenstring

Retorno

ValidationResults


CompleteWithWebPkiAsync(string)

public Task<ValidationResults> CompleteWithWebPkiAsync(string token)

Parâmetros

NomeTipoDescrição
tokenstring

Retorno

Task<ValidationResults>


GetCertificate()

public PKCertificate GetCertificate()

Retorno

PKCertificate


Start()

public byte[] Start()

Retorno

byte[]


StartAsync()

public Task<byte[]> StartAsync()

Retorno

Task<byte[]>


StartWithWebPki(AuthenticationOptions)

public string StartWithWebPki(AuthenticationOptions options)

Parâmetros

NomeTipoDescrição
optionsAuthenticationOptions

Retorno

string


StartWithWebPki(Guid)

public string StartWithWebPki(Guid securityContextId)

Parâmetros

NomeTipoDescrição
securityContextIdGuid

Retorno

string


StartWithWebPkiAsync(AuthenticationOptions)

public Task<string> StartWithWebPkiAsync(AuthenticationOptions options)

Parâmetros

NomeTipoDescrição
optionsAuthenticationOptions

Retorno

Task<string>


StartWithWebPkiAsync(Guid)

public Task<string> StartWithWebPkiAsync(Guid securityContextId)

Parâmetros

NomeTipoDescrição
securityContextIdGuid

Retorno

Task<string>


Membros herdados

GetType(), MemberwiseClone(), ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode()