Skip to content

Commit

Permalink
Update service.bal
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaminduDilshan authored Jun 4, 2024
1 parent a399b19 commit 23c137b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ import ballerina/http;
import ballerina/log;
import ballerina/uuid;

// In this example, authentication results are stored in an in-memory map. This is not recommended for
// production use. You may replace this with an implementation that suits your requirement.
// In this example, authentication results are stored in an in-memory map and hence supports only
// single-replica deployments. This is not recommended for production use. You need to replace this
// with a high available implementation that suits your requirement (i.e. DB or cache service).
isolated map<AuthenticationContext> userAuthContextMap = {};

isolated function pushToContext(string contextId, AuthenticationContext context) {
Expand Down

0 comments on commit 23c137b

Please sign in to comment.