Search Results for

    Show / Hide Table of Contents

    Interface IOAuthConnectionApiSync

    Represents a collection of functions to interact with the API endpoints

    Inherited Members
    IApiAccessor.Configuration
    IApiAccessor.GetBasePath()
    IApiAccessor.ExceptionFactory
    Namespace: mailslurp.Api
    Assembly: mailslurp.dll
    Syntax
    public interface IOAuthConnectionApiSync : IApiAccessor

    Methods

    View Source

    CreateOAuthConnection(string, string, string, int)

    Create an OAuth connection

    Declaration
    CreateOAuthConnectionResult CreateOAuthConnection(string redirectBase, string oAuthConnectionType, string emailAddress = null, int operationIndex = 0)
    Parameters
    Type Name Description
    string redirectBase
    string oAuthConnectionType
    string emailAddress

    (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    CreateOAuthConnectionResult

    CreateOAuthConnectionResult

    Remarks

    Configure an inbox for OAuth sync with MailSlurp

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateOAuthConnectionWithHttpInfo(string, string, string, int)

    Create an OAuth connection

    Declaration
    ApiResponse<CreateOAuthConnectionResult> CreateOAuthConnectionWithHttpInfo(string redirectBase, string oAuthConnectionType, string emailAddress = null, int operationIndex = 0)
    Parameters
    Type Name Description
    string redirectBase
    string oAuthConnectionType
    string emailAddress

    (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<CreateOAuthConnectionResult>

    ApiResponse of CreateOAuthConnectionResult

    Remarks

    Configure an inbox for OAuth sync with MailSlurp

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    ExchangeAuthorizationTokenAndCreateOrUpdateInbox(string, string, int)

    Exchange authorization code for access token and create inbox

    Declaration
    CreateOAuthExchangeResult ExchangeAuthorizationTokenAndCreateOrUpdateInbox(string authorizationCode, string redirectUri, int operationIndex = 0)
    Parameters
    Type Name Description
    string authorizationCode
    string redirectUri
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    CreateOAuthExchangeResult

    CreateOAuthExchangeResult

    Remarks

    Exchange an OAuth code for an access token and create an inbox connection in MailSlurp

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    ExchangeAuthorizationTokenAndCreateOrUpdateInboxWithHttpInfo(string, string, int)

    Exchange authorization code for access token and create inbox

    Declaration
    ApiResponse<CreateOAuthExchangeResult> ExchangeAuthorizationTokenAndCreateOrUpdateInboxWithHttpInfo(string authorizationCode, string redirectUri, int operationIndex = 0)
    Parameters
    Type Name Description
    string authorizationCode
    string redirectUri
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<CreateOAuthExchangeResult>

    ApiResponse of CreateOAuthExchangeResult

    Remarks

    Exchange an OAuth code for an access token and create an inbox connection in MailSlurp

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    • View Source
    In this article
    Back to top See MailSlurp website for more information.