@Override
    public UmaPermissionTicket create(final ResourceSet resourceSet, final Collection<String> scopes,
                                      final Map<String, Object> claims) throws Throwable {
        val codeId = this.idGenerator.getNewTicketId(UmaPermissionTicket.PREFIX);
        return new DefaultUmaPermissionTicket(codeId, resourceSet, this.expirationPolicyBuilder.buildTicketExpirationPolicy(), scopes, claims);
    }
This is {@link DefaultUmaPermissionTicketFactory}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-oauth-uma-core/src/main/java/org/apereo/cas/uma/ticket/permission/DefaultUmaPermissionTicketFactory.java