Interface Scopes
-
- All Superinterfaces:
Constructible
,Extensible
,java.util.Map<java.lang.String,java.lang.String>
public interface Scopes extends Constructible, Extensible, java.util.Map<java.lang.String,java.lang.String>
Scopes is a property of OAuth Flow Object.- See Also:
- OAuthFlow Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Scopes
addScope(java.lang.String scope, java.lang.String description)
Adds name of an existing scope object and item parameters to a Scopes instance as a key-value pair in a map.-
Methods inherited from interface org.eclipse.microprofile.openapi.models.Extensible
addExtension, getExtensions, setExtensions
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
addScope
Scopes addScope(java.lang.String scope, java.lang.String description)
Adds name of an existing scope object and item parameters to a Scopes instance as a key-value pair in a map.- Parameters:
scope
- the name of a scopedescription
- description of the scope- Returns:
- Scopes instance with the added key-value pair
-
-