Parameters for representing CSC authorization context.

Constructors

Properties

Accessors

Constructors

  • Constructs a new CSCAuthContext instance.

    Parameters

    • params: {
          accessToken: string;
          tokenType?: string;
      }

      The parameters for constructing an instance of CSCAuthContext.

      • accessToken: string

        The the service access token used to authorize access to the CSC provider hosted APIs. Cannot be undefined.

      • Optional tokenType?: string

        The the type of service access token used to authorize access to the CSC provider hosted APIs. Default value is "Bearer".

    Returns CSCAuthContext

Properties

_accessToken: string
_tokenType?: string

Accessors

  • get accessToken(): string
  • Returns the access token required for CSC based services.

    Returns string

    CSC Provider access token

  • get tokenType(): undefined | string
  • Returns the type of access token.

    Returns undefined | string

    token type

Generated using TypeDoc