Show / Hide Table of Contents

    SetBearerToken Procedure

    Codeunit Web Wrapper

    Sets a bearer token to be used with bearer authentication. If set, a Bearer Authorization header will be added to the request.

    Overloads

    Name Description
    SetBearerToken(SecretText) Sets a bearer token to be used with bearer authentication. If set, a Bearer Authorization header will be added to the request.
    SetBearerToken(Text) Sets a bearer token to be used with bearer authentication. If set, a Bearer Authorization header will be added to the request.

    SetBearerToken(SecretText) Procedure

    Sets a bearer token to be used with bearer authentication. If set, a Bearer Authorization header will be added to the request.

    Signature

    SetBearerToken(NewBearerToken: SecretText)
    

    Parameters

    NewBearerToken SecretText

    The bearer token, as SecretText.

    SetBearerToken(Text) Procedure

    Sets a bearer token to be used with bearer authentication. If set, a Bearer Authorization header will be added to the request.

    Deprecated

    This procedure is deprecated and should not be used.

    Reason: Use SetBearerToken with SecretText data type for NewBearerToken.
    Deprecated since: 24.0

    Signature

    [Obsolete('Use SetBearerToken with SecretText data type for NewBearerToken.', '24.0')]
    [NonDebuggable]
    SetBearerToken(NewBearerToken: Text)
    

    Parameters

    NewBearerToken Text

    The bearer token.

    This documentation is generated from Smart Toolbox v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX