public static void putSource(Bundle bundle, AccessTokenSource value) {
        Validate.notNull(bundle, "bundle");
        bundle.putSerializable(TOKEN_SOURCE_KEY, value);
    }
public static void putSource ( Bundle bundle , AccessTokenSource value ) { Validate . notNull ( bundle , "bundle" ) ; bundle . putSerializable ( TOKEN_SOURCE_KEY , value ) ; }
Puts the enum indicating the source of the token into a Bundle.

@param bundle
A Bundle in which the enum should be stored.
@param value
enum indicating the source of the token

@throws NullPointerException if the passed in Bundle is null