Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 948 Bytes

File metadata and controls

29 lines (20 loc) · 948 Bytes

Authentication

Bot authentication

To be updated...

OBO authenticating using SymphonyBdk

On Behalf Of (OBO) is a pattern that enables developers to perform operations on behalf of a Symphony end-user. `Getting started with OBO

With a SymphonyBdk instance, we can easily authenticate the bot in OBO mode:

public class Example {
    
    public static void main(String[] args) {
        // Initialize the BDK entry point
        final SymphonyBdk bdk = new SymphonyBdk(loadFromClasspath("/config.yaml"));
        // OBO authentication
        AuthSession oboSession = bdk.obo("user.name");
        // Running service in Obo mode
        final List<V2UserDetail> userDetails = bdk.users().listUsersDetail(new UserFilter(), oboSession);
    }
}

Home 🏠