build Token
Returns a TokenBuilder that can be used to create a Streem Token.
This method is optimized for use from Java code. For Kotlin code, prefer the buildToken method that takes a builder lambda.
Parameters
user Id
The user ID of the user to authenticate with this token.
final String buildToken(String userId, Function1<StreemToken, Unit> builder)
Content copied to clipboard
Returns a string representation of a Streem Token configured with builder.
This method is optimized for use from Kotlin code. For Java code, prefer the buildToken method that returns a TokenBuilder.
Parameters
user Id
The user ID of the user to authenticate with this token.