All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.tools.framework.aspects.authentication.snippet.auth_document.snip Maven / Gradle / Ivy

# Generates documentation for auth configuration aspect.
@snippet authDocumentation(oauthScopes, isSingleScope)
  @if isSingleScope
    Requires the following OAuth scope:

    {@listScopes(oauthScopes)}
  @else
    Requires one of the following OAuth scopes:

    {@listScopes(oauthScopes)}
  @end
@end

@private listScopes(oauthScopes)
  @join scope : oauthScopes
    * `{@scope}`
  @end
@end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy