Options
All
  • Public
  • Public/Protected
  • All
Menu

CloudAccessToken to be used for AWS tokens

Hierarchy

Index

Constructors

constructor

  • new AWSToken(keyId: string, secretKey: string): AWSToken

Properties

keyId

keyId: string

secretKey

secretKey: string

service

service: string

Methods

asDict

  • asDict(): {}

Static fromAWS

  • fromAWS(keyId: string, secretKey: string): AWSToken

Static fromFTP

  • fromFTP(host: string, port?: number, user?: string, password?: string): FTPToken
  • Create a token from FTP info. When an argument is / defaults to None, no data about it is sent to the Cloud Office Print server. The Cloud Office Print server will then fill in default values.

    Parameters

    • host: string

      host name or IP address

    • Optional port: number

      port to use; optional

    • Optional user: string

      username; optional

    • Optional password: string

      password for username; optional

    Returns FTPToken

    created token

Static fromOAuth

  • fromOAuth(service: string, token: string): OAuthToken

Static fromSFTP

  • fromSFTP(host: string, port?: number, user?: string, password?: string): FTPToken
  • Create a token from SFTP info. When an argument is / defaults to None, no data about it is sent to the Cloud Office Print server. The Cloud Office Print server will then fill in default values.

    Parameters

    • host: string

      host name or IP address

    • Optional port: number

      port to use; optional

    • Optional user: string

      username; optional

    • Optional password: string

      password for username; optional

    Returns FTPToken

    created token This is an FTPToken object, with sftp=True passed into the constructor. The only difference with FTP is CloudAccessToken.servicename.

Static listAvailableServices

  • listAvailableServices(): string[]

Generated using TypeDoc