Show / Hide Table of Contents

    Class AuthenticationService

    Handles all interactions with an authentication server.

    Inheritance
    System.Object
    AuthenticationService
    Implements
    IEnvelopeEncryptor
    Namespace: Sensus.Authentication
    Assembly: SensusAndroid.dll
    Syntax
    public class AuthenticationService : Object, IEnvelopeEncryptor

    Constructors

    AuthenticationService(String)

    Declaration
    public AuthenticationService(string baseServiceURL)
    Parameters
    Type Name Description
    System.String baseServiceURL

    Properties

    Account

    Gets or sets the account.

    Declaration
    public Account Account { get; set; }
    Property Value
    Type Description
    Account

    The account.

    BaseServiceURL

    Gets or sets the base service URL.

    Declaration
    public string BaseServiceURL { get; set; }
    Property Value
    Type Description
    System.String

    The base service URL.

    Methods

    CreateAccountAsync(String)

    Declaration
    public Task<Account> CreateAccountAsync(string participantId)
    Parameters
    Type Name Description
    System.String participantId
    Returns
    Type Description
    System.Threading.Tasks.Task<Account>

    EnvelopeAsync(Byte[], Int32, Int32, Stream, CancellationToken)

    Declaration
    public Task EnvelopeAsync(byte[] unencryptedBytes, int symmetricKeySizeBits, int symmetricInitializationVectorSizeBits, Stream encryptedOutputStream, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Byte[] unencryptedBytes
    System.Int32 symmetricKeySizeBits
    System.Int32 symmetricInitializationVectorSizeBits
    System.IO.Stream encryptedOutputStream
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task

    GetCredentialsAsync()

    Declaration
    public Task<AmazonS3Credentials> GetCredentialsAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<AmazonS3Credentials>

    Implements

    IEnvelopeEncryptor
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX