What is Ballerina?
Swan Lake



import ballerina/auth;

Package Overview

The auth library is one of the standard library modules of the Ballerina language.

This module provides a framework for authentication/authorization with the Basic Authentication scheme as specified in RFC 7617.

The Basic Authentication scheme transmits credentials as user-id/password pairs encoded using Base64. This scheme is not considered to be a secure method of user authentication unless used in conjunction with some external secure system such as TLS as the user ID and password are passed over the network as cleartext.

The Ballerina auth module facilitates auth providers that are to be used by the clients and listeners of different protocol connectors.

Report Issues

To report bugs, request new features, start new discussions, view project boards, etc., go to the Ballerina standard library parent repository.

Useful Links

Exported Modules


Created Date: 06 July,2021

Ballerina Compatibility

Platform: java11

Other Versions