The BYoDS SDK.

Hierarchy

  • BYODS

Properties

Constructors

Methods

Properties

tokenManager: TokenManager

The token manager for the SDK.

orgId: string

The organization used by this SDK instance.

dataSource: DataSourceClient

The data source client for the configured organization.

Constructors

  • Constructs a new instance of the BYODS SDK.

    Example

    const sdk = new BYODS({ clientId: 'your-client-id', clientSecret: 'your-client-secret', orgId: 'org-id' });
    

    Parameters

    • config: SDKConfig

      The Service App credentials and organization.

    Returns BYODS

Methods

  • Verifies a JWS token using the public key.

    Returns

    A promise that resolves to an object containing the result of the verification.

    Example

    const result = await sdk.verifyJWSToken('jws-token');
    

    Parameters

    • jws: string

      The JWS token to verify.

    Returns Promise<JWSTokenVerificationResult>