RestSuccessfulAuthorization | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Interface RestSuccessfulAuthorization<AuthInternal, LogInfo>

    Returned upon a succesful authorization. May be extended to store authorization details

    interface RestSuccessfulAuthorization<
        AuthInternal = unknown,
        LogInfo = LoggableRecord,
    > {
        authorization: AuthInternal;
        authorized: true;
        loginfo?: LogInfo;
    }

    Type Parameters

    Index

    Properties

    authorization: AuthInternal

    This authorization will be set as the request's authorization

    authorized: true
    loginfo?: LogInfo

    Information to log about this user with any context information (apicalls, errors)