Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BankUserService

Hierarchy

  • BankUserService

Index

Constructors

constructor

Methods

create

createAccessToken

  • Create a bank user access token

    Parameters

    • userId: string

      bank-user-id of the bank user to create an accesstoken for

    • validUntil: string

      The accesstoken will be valid until the given date (Format: YYYY-MM-DD hh:mm:ss).

    Returns Promise<BankUserAccessToken>

delete

  • delete(userId: string): Promise<any>

deleteAccessToken

  • deleteAccessToken(userId: string, tokenId: string): Promise<any>
  • Delete an accesstoken

    Parameters

    • userId: string

      The user-id for the user to delete a specific accesstoken for.

    • tokenId: string

      ID of the accesstoken to delete.

    Returns Promise<any>

get

  • get(userId: string): Promise<BankUser>

getAccessToken

list

  • list(perPage?: number, page?: number): Promise<BankUserList>

listAccessTokens

refreshAccessToken

  • refreshAccessToken(userId: string, tokenId: string, validUntil: string): Promise<BankUserAccessToken>
  • Refresh an accesstoken

    Parameters

    • userId: string

      The user-id for the user to refresh a specific accesstoken for.

    • tokenId: string

      ID of the accesstoken to refresh.

    • validUntil: string

      The accesstoken is valid until the given date (Format: YYYY-MM-DD hh:mm:ss).

    Returns Promise<BankUserAccessToken>

Generated using TypeDoc