Search Results for

    Show / Hide Table of Contents

    Class AuthController

    Controller for authenticating.

    Inheritance
    System.Object
    ExtendedApiController
    AuthController
    Inherited Members
    ExtendedApiController.Initialize(HttpControllerContext)
    ExtendedApiController.ExtendedUserIdentity
    ExtendedApiController.ExtendedPrincipal
    Namespace: Simplic.Framework.WebAPI
    Assembly: Simplic.Framework.WebAPI.dll
    Syntax
    public class AuthController : ExtendedApiController

    Methods

    | Improve this Doc View Source

    Login(LoginModel)

    Login and get tokens.

    Declaration
    public async Task<IHttpActionResult> Login(LoginModel model)
    Parameters
    Type Name Description
    LoginModel model

    Login

    Returns
    Type Description
    System.Threading.Tasks.Task<IHttpActionResult>

    Login-result

    | Improve this Doc View Source

    LoginByApiKey(ApiKeyLoginModel)

    Login using API key and get token.

    Declaration
    public async Task<IHttpActionResult> LoginByApiKey(ApiKeyLoginModel model)
    Parameters
    Type Name Description
    ApiKeyLoginModel model

    Login

    Returns
    Type Description
    System.Threading.Tasks.Task<IHttpActionResult>

    Login-result

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx