Documentation

authentication

This optional clause defines how Radiator authenticates to the HTTP service. Supported authentication methods include:

Basic authentication:

authentication {
    # Both username and password parameter support
    username "<username>";
    password "<password>";
}

Bearer token authentication:

authentication {
    token "<api_token>";
}

ApiKey authentication:

authentication {
    header "X-API-KEY";
    key "<api_key>";
}

Oauth2 authentication:

authentication oauth2 {
    device-url "https://login.microsoftonline.com/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/oauth2/v2.0/devicecode";
    token-url "https://login.microsoftonline.com/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/oauth2/v2.0/token";
    client "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
    scope "user.read groupmember.read.all openid profile";
}
Navigation
Parents