Added check for invalid scope
This commit is contained in:
1 parent
1f94997120
commit
5d86982421
1 file changed
+1
@@ -101,6 +101,7 @@ public class ServiceBuilder
|
||||
*/
|
||||
public ServiceBuilder scope(String scope)
|
||||
{
|
||||
Preconditions.checkEmptyString(scope, "Invalid OAuth scope");
|
||||
this.scope = scope;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user