- TIBCO BusinessEvents®
- Security
- Authentication

# Authentication.ssoAuthenticate()

## Signature

`String ssoAuthenticate(String tokenIssuerUrl, String username, String password)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Authenticate the given username/password and create an SSO token in Base64 encoded form to be embedded as cookie.

## Parameters

Name | Type | Description
--- | --- | ---
`tokenIssuerUrl` | `String` | The url of the issuing idp.
`username` | `String` | The username to be authenticated.
`password` | `String` | The password of the username.

## Returns

Type | Description
--- | ---
`String` | An serialized version of the sso token if authentication succeeds else null