Class BrightcoveTokenAuthorizer

java.lang.Object
com.brightcove.player.edge.BrightcoveTokenAuthorizer

public final class BrightcoveTokenAuthorizer extends Object
The class responsible to configure a Video with a Brightcove aiuthorization token.
  • Field Details

    • BRIGHTCOVE_AUTHORIZATION_HEADER_KEY

      static final String BRIGHTCOVE_AUTHORIZATION_HEADER_KEY
      The constant BRIGHTCOVE_AUTHORIZATION_HEADER_KEY.
      See Also:
    • BRIGHTCOVE_AUTHORIZATION_QUERY_PARAM_KEY

      static final String BRIGHTCOVE_AUTHORIZATION_QUERY_PARAM_KEY
      The constant BRIGHTCOVE_AUTHORIZATION_QUERY_PARAM_KEY.
      See Also:
  • Constructor Details

    • BrightcoveTokenAuthorizer

      public BrightcoveTokenAuthorizer()
      Instantiates a new Brightcove Token Authorizer.
  • Method Details

    • configure

      @NonNull public Video configure(@NonNull Video video, @NonNull String brightcoveAuthorizationToken)
    • findAuthorizationToken

      @Nullable public String findAuthorizationToken(@NonNull Video video)