Package 

Class Streem

  • All Implemented Interfaces:

    
    public final class Streem
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Streem.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final TokenBuilder buildToken(String userId) Returns a TokenBuilder that can be used to create a Streem Token.
      final String buildToken(String userId, Function1<StreemToken, Unit> builder) Returns a string representation of a Streem Token configured with builder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • buildToken

         final TokenBuilder buildToken(String userId)

        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:
        userId - The user ID of the user to authenticate with this token.
      • buildToken

         final String buildToken(String userId, Function1<StreemToken, Unit> builder)

        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:
        userId - The user ID of the user to authenticate with this token.