@Override
	public Collection<GrantedAuthority> convert(Jwt jwt) {
		return getScopes(jwt)
				.stream()
				.map(authority -> SCOPE_AUTHORITY_PREFIX + authority)
				.map(SimpleGrantedAuthority::new)
				.collect(Collectors.toList());
	}
@Override
	public Collection<GrantedAuthority> convert(Jwt jwt) {
		return getScopes(jwt)
				.stream()
				.map(authority -> SCOPE_AUTHORITY_PREFIX + authority)
				.map(SimpleGrantedAuthority::new)
				.collect(Collectors.toList());
	}
@ Override public Collection < GrantedAuthority > convert ( Jwt jwt ) { return getScopes ( jwt ) . stream ( ) . map ( authority -> SCOPE_AUTHORITY_PREFIX + authority ) . map ( SimpleGrantedAuthority :: new ) . collect ( Collectors . toList ( ) ) ; }
Extracts the authorities
@param jwt The {@link Jwt} token
@return The {@link GrantedAuthority authorities} read from the token scopes
Extracts the authorities