public String getScopes ( ) { final StringBuilder sb = new StringBuilder ( ) ; for ( final Scope scope : Scope . values ( ) ) { sb . append ( scope ) ; sb . append ( ", " ) ; } final String scopes = sb . toString ( ) . trim ( ) ; return scopes . substring ( 0 , scopes . length ( ) - 1 ) ; }
Returns the comma separated list of available scopes