public static Scopes from(String... scopes)
    {
        if (scopes == null || scopes.length == 0) return NONE;
        return new Scopes(scopes, true);
    }
public static Scopes from ( String ... scopes ) { if ( scopes == null || scopes . length == 0 ) return NONE ; return new Scopes ( scopes , true ) ; }
Creates a Scopes object from the given strings.

@param scopes the scope strings
@return a new Scope instance