Class BrightcoveTokenAuthorizer


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

      • BRIGHTCOVE_AUTHORIZATION_HEADER_KEY

        public static final java.lang.String BRIGHTCOVE_AUTHORIZATION_HEADER_KEY
        The constant BRIGHTCOVE_AUTHORIZATION_HEADER_KEY.
        See Also:
        Constant Field Values
      • BRIGHTCOVE_AUTHORIZATION_QUERY_PARAM_KEY

        public static final java.lang.String BRIGHTCOVE_AUTHORIZATION_QUERY_PARAM_KEY
        The constant BRIGHTCOVE_AUTHORIZATION_QUERY_PARAM_KEY.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BrightcoveTokenAuthorizer

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

      • configure

        @NonNull
        public Video configure​(@NonNull
                               Video video,
                               @NonNull
                               java.lang.String brightcoveAuthorizationToken)
      • findAuthorizationToken

        @Nullable
        public java.lang.String findAuthorizationToken​(@NonNull
                                                       Video video)